Function of a variable
1 次查看(过去 30 天)
显示 更早的评论
The sc value in the equation B should be function of x
sc(x) that depends on range x= 0:0.01:10
3 个评论
Alan Stevens
2022-6-28
Then define
sc = @(x) ... % whatever the definition is.
But since you have set the values of x previously you could just set
sc = ... % directly in terms of x
回答(1 个)
Alan Stevens
2022-6-28
编辑:Alan Stevens
2022-6-28
- You need to define sc before using it in B.
- In B you have ...1000/dref*dref.... This just means the dref va;lues cancel each other out. Did you mean ...1000/(dref*dref)...?
PS Upload the actual code, niot an image. Use the > symbol above.
3 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Install Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!