Create a function based on some criteria
Suppose I want to create a function : y=x^2 for x>5 x^3 for 0<x<=5 -1 for x<0 How to implement this in matlab with...
約1ヶ月 前 | 1 件の回答 | 0
Change the value of independent variables to solve the dependent variable equation
x=0:0.5:4*pi; y=sin(x)+cos(x); display(y); In the above example the y(x) is given . Now i want to use y(Ax) in other equation...
3ヶ月 前 | 2 件の回答 | 0