Issue with solving an equation
1 view (last 30 days)
Show older comments
Abdulrahman Alshalawi
on 10 Apr 2021
Commented: Abdulrahman Alshalawi
on 10 Apr 2021
Hi,
I am new to MATLAB and I needed to solve the equation below for different values. However, y function should give me multiple values while it is only giving me a single value (106.2).
Can someone please tell me what the problem with the code is.
clc
x = [100:100:6000];
y = (3500*sqrt(x/30))/(1.4*sqrt(x/30)+0.115*x-276);
0 Comments
Accepted Answer
VBBV
on 10 Apr 2021
%if
(3500*sqrt(x/30))./(1.4*sqrt(x/30)+0.115*x-276)
Missing element wise operator
More Answers (0)
See Also
Categories
Find more on Logical 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!