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!