Info

この質問は閉じられています。 編集または回答するには再度開いてください。

I have a matrix 2250 by 4 which is later then plot into a velocity field using quiver. I am having problems now producing the contour plot can anyone help me plot this.

1 回表示 (過去 30 日間)
Johnaton McAdam
Johnaton McAdam 2016 年 9 月 9 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
this is my code clear all; close all; clc; fprintf('Applided Fluids Mech. HW2~JM')
fid = fopen('2016 Sept 7 - Vortex 1_0001.txt'); A = textscan(fid,'%n %n %n %n ', 'delimiter', ',', 'headerlines',3); A = cell2mat(A); fclose(fid);
x= A(1:2250 ,1); y= A(1:2250 ,2); u= A(1:2250, 3); v= A(1:2250, 4);
figure quiver(x,y,u,v) hold on
  2 件のコメント
Johnaton McAdam
Johnaton McAdam 2016 年 9 月 9 日
clear all;
close all;
clc;
fprintf('Applided Fluids Mech. HW2~JM')
fid = fopen('2016 Sept 7 - Vortex 1_0001.txt');
A = textscan(fid,'%n %n %n %n ', 'delimiter', ',', 'headerlines',3);
A = cell2mat(A);
fclose(fid);
x= A(1:2250 ,1);
y= A(1:2250 ,2);
u= A(1:2250, 3);
v= A(1:2250, 4);
figure
quiver(x,y,u,v)
hold on
KSSV
KSSV 2016 年 9 月 9 日
what contour plot you want?

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by