Community Profile

photo

mehra


Last seen: 1 day ago
18 total contributions since 2016

mehra's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


Griddata gives NaN values
Hello In my code griddata gives NaN values, I checked if my query points are outside the convex hull of the sample data with th...

18 days ago | 1 answer | 0

1

answer

Question


subplot in for loop is not working
Hello I want to use and plot the following code plot(u_c(:,3),y_c) hold on plot(u_w(:,3),y_w) But I need to use subplot bec...

6 months ago | 1 answer | 0

1

answer

Question


changing titles for subplots in a for loop
hello I have a code like this for s=1:8; r=[16,81,22,87,25,90,26,91]; subplot(4,2,s) plot(tf,Js(1:length(tf),...

7 months ago | 1 answer | 0

1

answer

Question


start calculations from different point
Hello everyone! I have a set of 78 data that each has a different length. I have written a for-loop to do some calculations lik...

8 months ago | 0 answers | 0

0

answers

Question


2 variable for-loop
hello I have the following code which I want to write it as a two variable for loop, Apparently I am making mistake that it gi...

8 months ago | 1 answer | 0

1

answer

Answered
obtain specific components of a matrix
This is what my final (but long) code looks like TKE_t=transpose(TKE); TKE_d1=zeros(8,19000); for r=1:8 TKE_d1(r,:)=TKE_...

8 months ago | 0

Answered
obtain specific components of a matrix
my input is 104*19000 matrix (it can also be 19000*104, doesnt change the result) I think we can ignore the second dimension (1...

8 months ago | 0

Question


obtain specific components of a matrix
Hello I have a TKE_t matrix with dimensions 104*19000 , and I need to obtain values in the following order 1 14 27 40 53 66 79...

9 months ago | 4 answers | 0

4

answers

Question


obtain a matrix out of other matrix
Hello I have a 1*104 matrix which ı have to create a 8*13 matrix out of it. For one column of the final 8*13 matrix I can do ...

9 months ago | 2 answers | 0

2

answers

Question


creating matrix out of another matrix
I have a results matrix of size 104*14. I want to create a matrix of size 8*13 in which u(1,1)=results((1:13),4) and....I tried ...

10 months ago | 2 answers | 0

2

answers

Answered
creating matrix out of another matrix
I solved it using following for loop: for nn=1:8 u_depth(nn,:)=transpose(results((13*(nn)-12):13*(nn),4)); end

10 months ago | 0

| accepted

Question


exclude values of a matrix inside a for loop
Hello what should I include in my for loop so that it can ignore some data in my matrixes? my code is like: xler=cumsum([1/...

10 months ago | 1 answer | 0

1

answer

Question


extract specific values in a matrix
Hello I have a 104*14 matrix and I need to get some of the values in column 10 of this matrix which corresponds to values in fi...

11 months ago | 1 answer | 0

1

answer

Question


loading excel cell in matlab
Hey I am facing the 'Index exceeds matrix dimensions' Error while using xlsread [WL_time,dummy1,dummy2]=xlsread(WL_data(nn).na...

1 year ago | 1 answer | 0

1

answer

Answered
Datetime, parsing problem
Thank you very much

1 year ago | 0

Answered
Datetime, parsing problem
Thank you very much, but here some of my fıles can be processed however in all of them there are 12 digits for seconds

1 year ago | 0

Question


Datetime, parsing problem
I am using Datetime function for a set of 104 excel data, but in some of the data I face with parsing error, although all the fi...

1 year ago | 3 answers | 0

3

answers

Question


showing all the elements of the answer matrix for specific result
In my codes I have a variable (K) which is a function of 4 other variables (K(a,b,c,d)=0) which vary in defined ranges. As a res...

3 years ago | 1 answer | 0

1

answer