photo

Susan Santiago


2018년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Can't concatenate table variables?
I'm importing data using the loop below. I'm getting an error that some of the table variables cannot be concatenated because th...

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

1

답변

질문


How to create an array that counts the number of consecutive repeating numbers in a given array?
For example, if I have a matrix something like this, A = [1;1;1;2;2;2;2;2;3;3;4;4;4;4;4;4;4;5;5;5;5;1;1;1;3;3;3;3;3;3]. How woul...

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

1

답변

질문


how do I find the locations of values in a matrix?
I want to make a matrix with the location of values in an array. This is what i'm trying to do. The first column of TT is in mat...

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

1

답변

질문


trying to create a loop that finds a value in an array and creates a matrix with it
I have an array TT where the first column is matlab serial date numbers and each other column is data for various variables. I ...

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

1

답변

질문


cannot concatenate variable in a table
My code is attached. There is an issue concatenating the two tables in the first loop. I think the problem is because in some of...

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

1

답변

질문


how do I create this loop?
I have a timetable that I'm converting to an array. Some of the columns are NaNs so initially, I just changed the columns to zer...

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

2

답변

질문


I'm trying to organize data so it can easily be averaged by date
I have a cell of data where the first column is the full date. I'm being asked to organize it in a matrix so that if something l...

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

2

답변

질문


sorting data in a nested cell
I have a cell C that looks like this <</matlabcentral/answers/uploaded_files/135505/Screenshot%20(210).png>> The cells in ...

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

1

답변

질문


populating a cell using a loop
This is my code a = dir; i=3; n=1; b = zeros(n,55); while i<=43 d = a(i).name; A = textscan(fopen(d),'%f %...

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

1

답변

질문


how to populate a cell with a loop
This is what I have with my code so far. a = dir; i=3; d = a(i).name; A = zeros(40,55); while i<=43 A = textscan(f...

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

1

답변

질문


trying to store data in a matrix using loop
so I have 42 data files with names pretty much the same for example "7633_Flux_AmerifluxFormat_0(1)" and then the only thing tha...

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

2

답변

질문


trying to create a loop for for opening data files and plotting them
this is the code I have so far. The part in the loop is from code I wrote for just one of the files. I want to change it so that...

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

1

답변

질문


how do I use datetick for this code?
A = textscan(fopen('7633_Flux_AmeriFluxFormat_3.dat'),'%f %f %f %f %f %f %f %f %f %f %f %f %f %f %s %s %f %f %f %f %f %f %f %f...

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

1

답변

질문


how do I extract part of a cell of string values?
I have a 1x144 cell of string values all with 12 numbers like '201808250100'. I want to extract a cell of just the last four num...

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

2

답변

질문


importing data from a text file
I'm importing data from a text file into a script and i was wondering and when doing this using the import tool, I noticed that ...

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

1

답변

질문


data not showing up
IC=[0 0 0 0 0 0]; ti=0; tf=20; tspan=[ti,tf]; h = 1; %Scenario 1 fMu1=@(t,y)Mu(t,y,ti,tf,1); [t1,y1]=ode45(fMu1,tsp...

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

1

답변

질문


error calling a function
function f = Mu(t,y,ti,tf,n) m1 = 55; m2 = 400; m3 = 100; k1 = 230000; k2 = 30000; k3 = 50000; k4 = 3000; n2 = 1500; ...

대략 6년 전 | 답변 수: 2 | 0

2

답변

질문


"error using vercat"?
I'm getting this error "Error using vertcat The following error occurred converting from double to function_handle: Too many o...

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

1

답변

질문


index exeeds matrix dimensions error
t0 = 0; tf = 0.4; h = 0.1; y0 = [2,4]; f = @(y,t) [-2*y(1) + 5*exp(-t); (-y(1).*(y(2).^2))/2]; prob2res1 = myEuler3(f,...

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

1

답변

질문


how to evaluate a double integral using the trapezoidal rule equation?
Here's what I have so far function [ I ] = myTrapz2D( f, x0, xn, y0, yn, nx, ny ) dx = (xn - x0)/nx; dy = (yn - y0)/ny; ...

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

2

답변