Borrar filtros
Borrar filtros

Problem with the Spider function

4 visualizaciones (últimos 30 días)
Laura Beal
Laura Beal el 19 de Mayo de 2020
Comentada: Laura Beal el 20 de Mayo de 2020
Hello,
I am a new user and I have some trouble with a function.
I have downloaded the Spider function, but I can't use it.
I have searched on the different topics but I didn't found the answer.
I have an example code to plot this function :
D1 = [5 3 9 1 2];
D2 = [5 8 7 2 9];
D3 = [8 2 1 4 6];
P = [D1; D2; D3];
figure(2)
Spider_plot(P);
legend('D1', 'D2', 'D3', 'Location', 'southoutside');
But it doesn't plot anything and the result is :
The closest match is: spider_plot in H:\LAURA\DOC\MATLAB\spider_plot.m
Error in spider_plot (line 7)
Spider_plot(P);
I think I unzip the file at the wrong place, but I don't know where I need to unzip this.
Thanks for your answer.

Respuestas (1)

Steven Lord
Steven Lord el 19 de Mayo de 2020
Case matters. The command "Spider_plot" (upper-case S) is different from the command "spider_plot" (lower-case s.) You have a function named spider_plot (the error message shows it's in your H drive) but not one named Spider_plot.
  1 comentario
Laura Beal
Laura Beal el 20 de Mayo de 2020
Oh well... thanks a lot for your answer ^^

Iniciar sesión para comentar.

Categorías

Más información sobre Entering Commands en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by