photo

siya lolo


自 2018 起处于活动状态

Followers: 0   Following: 0

统计学

  • Thankful Level 2
  • Thankful Level 1

查看徽章

Feeds

排序方式:

提问


I want to plot a histogram with the following code, but it's not giving me the desired output?
x = [1 2 3 4 5]; y = [40.13 23.14 16 11.03 9.73]; hist(x,y) tittle('Duration of ridging anticyclones') xlabel = (('number of...

6 years 前 | 1 个回答 | 0

1

个回答

提问


Hi everyone. the following code is giving me an error, "Subscript indices must either be real positive integers or logicals" at line 16, please help me resolve it
A = load('my_dates.txt'); for iLength = 1:56 if iLength < 10 label = sprintf('0%s',num2str(iLength)); else ...

6 years 前 | 1 个回答 | 0

1

个回答

提问


Hi everyone, i need help. When I run my script, i don't get an error message all I get from the command line is 'Lab 1: no data', what might be the problem with my script?
for iLength = 1:42 if iLength < 10 label = sprintf('0%s',num2str(iLength)); else label = num2s...

6 years 前 | 0 个回答 | 0

0

个回答

1

个回答

提问


Error using fprintf Invalid file identifier. Use fopen to generate a valid file identifier.
fn=sprintf('ridging_daily_evolution_1980.txt'); A=load(fn); [m,n]=size(A); for i=1:m-1 DUR=A(i,5...

6 years 前 | 1 个回答 | 0

1

个回答

已回答
Error using fprintf Invalid file identifier. Use fopen to generate a valid file identifier.
for i=1:m-1 if A(i,5)~=0 && A(i+1,5)==0 DUR=A(i,5); if DUR ~=1 DATE=A(i-(DUR-...

6 years 前 | 0

提问


Error using fprintf Invalid file identifier. Use fopen to generate a valid file identifier.
Hi everyone, am getting this error message and i don't know how to fix it. B = [STR_DATE,num2str(lon),num2str(lat...

6 years 前 | 2 个回答 | 0

2

个回答