warning message using surf

4 ビュー (過去 30 日間)
Valeria Leto
Valeria Leto 2021 年 8 月 20 日
回答済み: Walter Roberson 2021 年 9 月 27 日
Hi! I get this warning message but I don't know what to do....
Warning: Error updating Surface.
Update failed for unknown reason.
  1 件のコメント
KSSV
KSSV 2021 年 8 月 20 日
Show us the code which lead this error.

サインインしてコメントする。

回答 (2 件)

Valeria Leto
Valeria Leto 2021 年 9 月 27 日
編集済み: Valeria Leto 2021 年 9 月 27 日
@KSSV I can't load the matrix because the files are too big even in a .zip format

Walter Roberson
Walter Roberson 2021 年 9 月 27 日
We cannot tell what length(u) or length(v) or size(Xq) or size(Yq) is.
You could get an error if size(Xq) is not the same as size(Yq) or size(Zq) or size(V_1)
for i=1:1:length(v)
V_1(i,:)=vq_1(1+(i-1)*length(u):1+(i-1)*length(u)+(length(u)-1),1)';
end
I suspect that could be written as
V_1 = reshape(vq_1, size(Xq));
I speculate that some values of vq_1 are NaN because you did not ask for extrapolation in the griddata()

製品

Community Treasure Hunt

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

Start Hunting!

Translated by