Community Profile

photo

dj


Last seen: 4 years ago Active since 2018

Followers: 0   Following: 0

Statistics

  • Explorer
  • Thankful Level 3

View badges

Feeds

View by

Question


4 nested for loops
I have a code with 4 nested for loops below. What i am trying to do is to calculate the error given by at 20th iteration for eac...

4 years ago | 0 answers | 0

0

answers

Question


Summation with FOR Loop
Hi everybody, i need to create a code for the cumulative sum given below and get the output for every i value. How can do that w...

4 years ago | 1 answer | 0

1

answer

Question


Array indices must be positive integers or logical values.
I just simply want to use previous Re, f and V values in the next one and trying to stop iteration when it reaches the criteria ...

4 years ago | 2 answers | 0

2

answers

Question


Error using * Inner matrix dimensions must agree.
Can someone hepl me with this? I get an error at line 12. function L=dispersion(T,d) T=[0.5 0.5 2 2 8 10 14]; d=[0.1 0.5 0.1 ...

5 years ago | 1 answer | 0

1

answer

Question


How to sort 2 matching column only decending one of them?
I have matching period and height datas for wave analysis. I'm trying to sort wave height in descending order and match every in...

5 years ago | 2 answers | 0

2

answers

Question


Error using sortrows, too many input arguments
Can somebody help me to understand the error? Why do i get it? Error in zeroup (line 63) srti(j,3)=sortrows(srt,[1,2],'desce...

5 years ago | 1 answer | 1

1

answer

Question


index out of bounds because size(eta)=[1,2]
Attempted to access eta(1,1000); index out of bounds because size(eta)=[1,2]. Error in surface (line 30) eta(j,N)=et...

5 years ago | 1 answer | 0

1

answer

Question


Attempted to access x(1,53); index out of bounds because size(x)=[1,2].
Why do i get this error? i clear clc n=zeros(52,60001); N=51; d=0.4; A=0.15; B=1.6; fo=0.05; e=2*pi*rand(1,5...

5 years ago | 1 answer | 0

1

answer

Question


for loop in a for loop does not work
I'm having a problem with my script about my final project.So I have 2 variables and basicly x starts with 10 then goes to 500 w...

5 years ago | 1 answer | 0

1

answer

Question


Subscripted assignment dimension mismatch.
Hi everyone. I'm new to MATLAB. What i am trying to do with this code is to plot the sum of the n values vs t that has 0.005 tim...

5 years ago | 2 answers | 0

2

answers

Question


Not Enough Input Arguments
Hi, I have a formula that includes two variables T and d but whatever i try matlab gives an error saying that that T and d mi...

5 years ago | 1 answer | 0

1

answer