stream3のエラーについて
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
お世話になっています。
初学者です。簡単な質問ですが、ご回答いただければ幸いです。
stream3を用いて解析したいと考えています。
[startX,startY,startZ] = meshgrid(0,0,0);
verts = stream3(x,y,z,u,v,w,startX,startY,startZ);
lineobj = streamline(verts);
view(3)
このコードで、原点からの三次元流線データが欲しいです。
しかし、
次を使用中のエラー: matlab.internal.math.interp1
サンプル点は一意でなければなりません。
VqLite = matlab.internal.math.interp1(X,V,method,method,Xqcol);
szi=interp1(zz(:),1:szu(3),sz(k));
のエラーが出てしまっています。
どの様にすれば、解決できますか??サンプル点決定の為のアドバイスをぜひ頂きたいです。
4 Kommentare
Atsushi Ueno
am 11 Okt. 2023
多分最初の3項(G2x,G2y,G2z)が単調でない事がエラーの原因だと思います。
I think the error is probably due to the fact that the first three terms (G2x, G2y, G2z) are not monotonic.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing 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!