I am trying to plot x and y with y being the only unknown but I don’t what is wrong in my code please help
Mostra commenti meno recenti

1 Commento
KSSV
il 11 Gen 2021
Don;t attach your code as image snippet.....copy paste your code here.
Risposta accettata
Più risposte (1)
KSSV
il 11 Gen 2021
0 voti
- Your x is an array
- Where as theta is only a scalar.
- You have to make theta and x both arrays of same size.
- You need to use element by element operations.
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!