Mostrar comentarios más antiguos
x=xlsread('book4','tabelle1','R1:AEK1');
>>
>> y=xlsread('book4','tabelle1','R2:AEK2339');
>> [X,Y]=meshgrid(x,y);
>> z=[1:1:2339];
>> [Z]=meshgrid(z);
>> surf(X,Y,Z)
but i get this erorr Error using surf (line 71) Data dimensions must agree.
can you help me,tnx
1 comentario
madhan ravi
el 10 de Oct. de 2018
upload your datas/file
Respuestas (1)
Stephen23
el 10 de Oct. de 2018
Replace this:
>> z=[1:1:2339];
>> [Z]=meshgrid(z);
With something like this:
>> Z = nan(size(Y));
>> Z(:) = 1:numel(Y);
2 comentarios
Amin Rezvanpour
el 15 de Oct. de 2018
Stephen23
el 15 de Oct. de 2018
"now i get this error: Warning: MATLAB has disabled some advanced graphics rendering features by switching to software OpenGL"
That is not an error, that is just a warning message telling you that MATLAB has changed which renderer it is using. Unless you have specific needs related to a specific renderer, you can just ignore that warning message.
Categorías
Más información sobre Graphics Object Properties en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!