Community Profile

# dj

##### Last seen: Today
10 total contributions since 2018

View details...

Contributions in
View by

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...

1 month ago | 1 answer | 0

### 1

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 ...

1 month ago | 2 answers | 0

### 2

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 ...

1 year ago | 1 answer | 0

### 1

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...

1 year ago | 2 answers | 0

### 2

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...

1 year ago | 1 answer | 0

### 1

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...

1 year ago | 1 answer | 0

### 1

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...

1 year ago | 1 answer | 0

### 1

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...

1 year ago | 1 answer | 0

### 1

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...

1 year ago | 2 answers | 0