photo

shobhit mehrotra


UC Davis

2014년부터 활동

Followers: 0   Following: 0

메시지

통계학

  • Thankful Level 4

배지 보기

Feeds

보기 기준

질문


converting values in cell array
I have a cell array A A = [(1 2 3), (5 6 7), (13 14 15)] I want to convert it so it count sequentially and creates another c...

대략 9년 전 | 답변 수: 1 | 0

1

답변

질문


using the find function using conditions
I have data for heading (varies between 0 and 360 degrees) and I want to find every point that the heading crosses 240 degrees. ...

대략 9년 전 | 답변 수: 1 | 0

1

답변

질문


Create a 2-D contour using kmlwrite to create kml file
Hi I want to export this plot to a kml file. figure scatter (long(start:stop), latg(start:stop), 40, ch4i(start:stop), ...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Using the find function to pick out data when it crosses a limit
I have a vector A= [12 34 56 78 94 104 160 199 233 277 287 300 302 309 345 4 26 45 66 77 89 123 234 280 321 344 6 13 ...] ...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


using the find function to find intersection of two lines
Hi, I have a vector A : A = [ 10 20 30 40 50 60 50 40 30 20 10] I want to find the nearest index where it crosses...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


random permutation for a matrix
I have a 2x5 matrix, A. I want to randoming sort both of the rows together, so that the second is still a function of the first ...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


multiply/divide two cells array
I have two cell arrays that have the exact same amount of elements A: cell 1: [2, 5, 8, 9] cell 2: [ 5, 7, 3] ...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


modifying a cell array
I have a cell array A = cell 1: 1,2,5,6 (4x1) cell 2: 3, 5.5, 6.4, 3, 7.2 (5x1) cell 3: 15 (1x1) ...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


omitting data from a cell array
I have a cell array A = cell 1: 1,2,5,6 (4x1) cell 2: 3, 5.5, 6.4, 3, 7.2 (5x1) cell 3: 2, 13 (2x1) ...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


converting atan2 output to 360 deg
Hi, I'm using the function atan2, however my output is from -180 to 180 degrees (I converted from radians) How do I modify it su...

9년 초과 전 | 답변 수: 3 | 2

3

답변

질문


Running average from vector of data
Hi, I have a vector A A = (1 ,3 ,4 -2, 5 ,6 8, 9, -4, -2) I want to create a vector with the running average such that B...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


binning data in equally spaced intervals
I would like to bin the data in 8 equally spaced bins. I have a the data accessible in vectors [X= conc, Y= alt] this what I hav...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Error when interpolating data code attached
Im getting an error using the interp1, the workspace is attached. I think the issue is with te, where it jumps suddenly at indic...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


binning data and evaluating
I have a scatter plot of Y and X, I want to create a bin with the data between the point with the lowest y-value to the (lowest ...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


polyfit in a for loop
I want to perform a polyfit in a for loop for n=1:270 slopex(n) = polyfit(cos(n^3), 3*n, 1) end I want t...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


create a function for a cell array
Hello, I have a cell array {data} of indices numbers. C = {1:23, 24:55, 56:102, 103:255, 256:351} (351 data points...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


cell array to vector using cell2mat
I have a cell array {C} =1x12, with each cell consisting of only integers. All cells have different amounts of data cell 1: [...

거의 10년 전 | 답변 수: 2 | 0

2

답변

질문


subtracting a vector from cell array of same size
Hello, I have a vector V= [1, 5, 7, 9] and I have a cell array of the same size C = {cell 1, cell 2, cell 3, cell 4,...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


creating and modifying a cell array
Hello I have a cell array of data R R = cell 1: 4 6 8 cell 2: 5 9 12 cell 3: 6 13 14 I want to create...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


listing only the first index
I have a matrix A= [ 1 3 5 7 33 23 44 55 55] I want to find the index of the maximum value, so I used this line A= f...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


subscript for loop finding max value index
Hi Im trying to use a find function on the for loop, but Im getting an error that. In an assignment A(I) = B, the number of ele...

거의 10년 전 | 답변 수: 0 | 0

0

답변

질문


find maximum value indices
Im trying to find the indices number of the max of a certain function. delcx(:,n) = (massch4(max(longm(dataind{n})))) ...

거의 10년 전 | 답변 수: 0 | 0

0

답변

질문


appending to vector in a for loop
Hello I have this code so far, it wont run because the number of elements of winddivergencex is not the same number of elements ...

거의 10년 전 | 답변 수: 0 | 0

0

답변

질문


for loop number of elements
Hello I have this code so far, it wont run because the number of elements of winddivergencex is not the same number of elements ...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


appending element to vector
Hello Im a diff function to estimate a derivative(du/dx), however I lose an element as excepted, now I want to add the average v...

거의 10년 전 | 답변 수: 2 | 0

2

답변

질문


adding a constant to every term in a cell array
I'm trying to add a constant to every term in the cell array. For example A = {[1 2 3] [4 5 6] [7 8 9]} and I want to add 5 to e...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


finding index of a function
Hello, I have the following code, When the cell array is created it contains values of AA when the condition is meet. I want to ...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


storing data from while loop
Hello, I'm trying to sort the data from vector AA such that if AA(n+1) > AA(n) it'll store the indices into a matrix {data} if t...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


Storing Data from While loop
Hello, I'm trying to create a matrix with the outputs of a while loop. Attached is an image which will help visualize what I'm d...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


plotting all indices in a for loop
i have this code for n=1:35 A = sin(n*3) B= cos(n^2)*3)) plot (A,B) end however when i plot it only plots t...

대략 10년 전 | 답변 수: 1 | 0

1

답변

더 보기