solving a function with two variables
显示 更早的评论
How do i do this?
When hmax =0, v=@(D,H)(sqrt((H*(-9.81))+((-9.81)*sqrt(H^2+D^2)))) Write a function of ?? using @ method which takes two input variables D and H, and calculate the critical speed v* , when D=1m and H=2m
3 个评论
madhan ravi
2019-2-4
You did everything good just add :
v(1,2) % at the end
madhan ravi
2019-2-4
YT comments:
Homework assignment / unsufficient work by requester
madhan ravi
2019-2-4
See https://www.mathworks.com/help/matlab/matlab_prog/anonymous-functions.html how to use anonymous functions.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Call C++ from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!