Error using plot vectors must be the same length
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How do I fix this error?
0 Kommentare
Antworten (1)
Star Strider
am 10 Jul. 2021
It’s not easy to determine what the problem is.
One possibility is to use the gradient function instead of using diff to calculate the approximate derivative.
The outputs of gradient have the same dimensions as the input. The outputs of diff are less than the dimensions of the input.
.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Scatter Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!