Function of a variable
Mostra commenti meno recenti
The sc value in the equation B should be function of x
sc(x) that depends on range x= 0:0.01:10

3 Commenti
Garmit Pant
il 28 Giu 2022
Can you please elaborate as to what exactly is the problem that you are facing?
Anfal AlShehhi
il 28 Giu 2022
Alan Stevens
il 28 Giu 2022
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
Risposte (1)
Alan Stevens
il 28 Giu 2022
Modificato: Alan Stevens
il 28 Giu 2022
0 voti
- 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 Commenti
Anfal AlShehhi
il 28 Giu 2022
Anfal AlShehhi
il 28 Giu 2022
Modificato: Anfal AlShehhi
il 28 Giu 2022
Alan Stevens
il 28 Giu 2022
You need to define sc.
If you don't know what sc is, how is Matlab to know?
Categorie
Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!