Community Profile

photo

dj


Last seen: Today
10 total contributions since 2018

dj's Badges

  • Thankful Level 2

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

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

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

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

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

1 year ago | 1 answer | 0

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

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

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

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

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

1 year ago | 1 answer | 0

1

answer