Trying to plot 2 variable 3d graph. The z matrix is filled with NaN values only.
Show older comments

Every time I run this the TMR, which is z in this case, is filled with NaN instead of actual values.
What am I doing wrong?
Answers (1)
Torsten
on 11 May 2023
TMR = (f_m*(f_Cd*sqrt(2*(f_dP_factor*p_c)/f_d)))./(o_m*(o_Cd*sqrt(2*(o_dP_factor*p_c)/o_d)));
instead of
TMR = (f_m*(f_Cd*sqrt(2*(f_dP_factor*p_c)/f_d)))/(o_m*(o_Cd*sqrt(2*(o_dP_factor*p_c)/o_d)));
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!