Skip to content

Instantly share code, notes, and snippets.

@kcajf
Created February 21, 2014 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kcajf/442a827a38498d3afd43 to your computer and use it in GitHub Desktop.
Save kcajf/442a827a38498d3afd43 to your computer and use it in GitHub Desktop.
MATLAB Q from f function
function [ q ] = q_from_f( f, R )
%UNTITLED5 Summary of this function goes here
% Detailed explanation goes here
q = sqrt( 6 / (391.7 + (800*f)/(pi^2 * R^5 * 9.81)));
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment