how to write this in matlab???? and plot graph between y and x;
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Mithun Routh
il 11 Set 2018
Commentato: Walter Roberson
il 12 Set 2018
z=2;
y=0.5-0.00167(z-2)sin(π(x+0.1)/(18.5-0.3(z-2) ))-0.00184(x-3)(z-2)
8 Commenti
PromoCodeBSJ
il 11 Set 2018
Modificato: PromoCodeBSJ
il 11 Set 2018
what is x? you need to define x. on my machine it works fine
Risposta accettata
PromoCodeBSJ
il 11 Set 2018
Modificato: Walter Roberson
il 11 Set 2018
x=1:10
z=1
y=(0.5-0.00167.*(3-2)).*sin((pi.*(x+0.1)/(18.5-0.3.*(3-2))))-0.00184.*(x-3).*(3-2);
Copy and paste this
2 Commenti
Walter Roberson
il 12 Set 2018
It was PromoCodeBSJ who provided the solution; I just reformatted it to look nicer.
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!