improfile "Error using interp2 Too many input arguments."
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
when copying the example of the matlab, the line was drawn. But no matter how to finishe the line, shift+click, righ-click, or double-click, when it finishes, it shows the error: "Error using interp2, Too many input arguments. Error in improfile (line 236), zg = interp2(xGridPoints, yGridPoints, img, xg, yg, method);
What's the correct operation to use the improfile and let matlab to plot a line? Thanks.
I = fitsread('solarspectra.fts');
imshow(I,[]);
c=improfile
2 Commenti
Walter Roberson
il 25 Feb 2023
What shows up for
which -all interp2
I suspect that you have another interp2 before the polyfun one.
Risposte (0)
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!