Respondida
Box plot - plotting multiple datasets on one plot
Well, you're not following the documentation precisely which says _"If X is a matrix, there is one box per column; if X is a vec...

alrededor de 9 años hace | 0

Respondida
How to merge multiple xls files into a single file with the same worksheet?
Probably simplest presuming the individual sheets aren't terribly big is to loop through and accumulate all the data into one ar...

alrededor de 9 años hace | 0

Respondida
How can I extract certain segments of a long matrix and partition them into new matricies
Simply read the full file and throw away the columns that aren't of interest-- data=textread(yourfile,'headerlines',1); ...

alrededor de 9 años hace | 0

Respondida
How do I fit negative values to a log-logistic probability distribution function?
The Matlab log-logistic distribution object isn't the extended three-parameter log-logistic distribution used in the subject pap...

alrededor de 9 años hace | 0

Respondida
How do I extract certain data from a table?
I'd guess the ID column isn't a float but an integer number; need to ensure you've imported it with sufficient precision to be c...

alrededor de 9 años hace | 2

| aceptada

Respondida
Hi, How to find the highest of maximum and lowest of minimum value in each period?
Flip sign and find peaks; that will isolate the sections as each minimum appears pretty clean break between periods. Then for e...

alrededor de 9 años hace | 0

Respondida
Ticks label problem Julian day
Convert the numeric values to datetime either as time or duration depending on the meaning. You'll need to pick the appropriate...

alrededor de 9 años hace | 0

Respondida
How to read CSV file with different format ?
A) readtable B) textscan C) interactive use the import tool...

alrededor de 9 años hace | 0

Respondida
filtering out two months with a code
Month1 == 10; % make variables instead of hardcoded Month2 == 11; % "magic" numbers datelike1= datelike(iswithin(d...

alrededor de 9 años hace | 0

| aceptada

Respondida
need to analyze individual components of an array
That sort of comparison operation is builtin Matlab vector operations...I wouldn't call the test you outline above a "tolerance"...

alrededor de 9 años hace | 0

Respondida
Determine the order how .mat files are loaded into the workspace by an numerical value, which is stored in the file, ascending?
_"determine the order to load them ascending by the value in row 13"_ Not to _load_ them w/o doing so twice or other machinat...

alrededor de 9 años hace | 0

Respondida
most frequent word in cell array
Good place to use |categorical| variables instead of the |cellstr|... Example: >> yn={'yes' 'no' 'Yes';'no' 'No', 'NO'};...

alrededor de 9 años hace | 2

Respondida
i have two 68*1 matrices of drought severity and duration. how to get severity-duration-frequency curves for some given frequencies(i.e. return period=5 years, 10 years, 50 years)
In all likelihood at a minimum the severity of the drought will be highly correlated with the duration so simple univariate anal...

alrededor de 9 años hace | 0

Respondida
Store data into new variable in for loop
For Matlab, you wouldn't need a loop at all... N=5; data = 10-[1:N]; as a constant can be added onto a vector automag...

alrededor de 9 años hace | 2

Respondida
Why textscan only reading 1 line (headerline + 1st line)
Your count for the floats is off by one-- there are six, not five. Either read the whole file and just discard any you don't wa...

alrededor de 9 años hace | 2

| aceptada

Respondida
Merge two data sets/matrices from different sources
# Read file 1 -- call it _X1_ # Read file 2 -- call it _X2_ # Interpolate column 1 of _X1_ to match _X2_ X1=importdata('f...

alrededor de 9 años hace | 0

Respondida
how do i create a text file with that name person[Id][Serie][Number][Tilt][Pan].jpg
To build a filename from the variable values use specific formatting... >> fnFmt='person%02d%1d%2d%+2d%+.2d.jpg'; ...

alrededor de 9 años hace | 0

Respondida
How to store values in an array from a loop
_"...store first value, 730374, into the array, and then the next value, (730374+543.4) into the next value."_ tseArray=[73...

alrededor de 9 años hace | 0

Respondida
why is the green graph (pco2) not coming in the complete range of x-axis? However it is covering the complete range. i have used plotyyy function to create multi y axis plot.
Oh; my eyes missed the third 'y' in |plotyyy|; that must be a FEX submittal. ax=plotyyy(t',sst,t',pco2,t',sss); datetick...

alrededor de 9 años hace | 0

Respondida
Subscript indices must either be real positive integers or logical
I don't know what your intent is so can't tell you what to do to get the answer you want, but the problem is in for j= 1:N ...

alrededor de 9 años hace | 0

Respondida
What are Estimated coefficients parameters (Estimate, SE, tStat, pValue) when we do the linear regression model by the command fitlm?
Follow through the documentation -- click on the *mdl* active link of the LHS output variable in the |*Description*| section whi...

alrededor de 9 años hace | 1

| aceptada

Respondida
How do I add a Hanning Window to this code before I FFT it?
FT=fft(hanning(length(alex_y_f)).*alex_y_f); presuming your data are vectors. If not, use the proper array dimension for l...

alrededor de 9 años hace | 1

| aceptada

Respondida
Using 'find' for finding whole numbers
|find| has no difficulty in returning integer-valued floating-point numbers (which is the default storage in Matlab and in an ar...

alrededor de 9 años hace | 0

Respondida
Problems Creating a Random Graph
That's MUPAD syntax; requires the Symbolic Toolbox.

alrededor de 9 años hace | 0

Respondida
how to get fft of a signal?
c = fft(a); takes the fft of both columns independently and then when you plot() that you get both plots on the same axis. ...

alrededor de 9 años hace | 0

| aceptada

Respondida
How do I plot the velocity and acceleration vectors at only every 10th computation of position? I have 10'000 computations of position. Two vectors at every point provides a messy and unuseful plot. Thanks!
N=10; % how many points in interval ix=1:N:length(xp); % indexing vector of every N-th point ... ...

alrededor de 9 años hace | 1

| aceptada

Respondida
How to repeat a function several times?
Just preallocate the output array and call the function in a loop saving each simulation in row/column of the array depending on...

alrededor de 9 años hace | 0

| aceptada

Respondida
How to use dot notation (substructures and fields) with a parameter which has already "dot" in it??
Short answer is "you can't do that!". The field name in the variable has to be a single field and a field name can't have an em...

alrededor de 9 años hace | 2

| aceptada

Respondida
Sampling frequency in fft analysis.
FFT algorithm doesn't care what the sampling rate is; your rate is 1/Day so that's the frequency. You can convert to any other ...

alrededor de 9 años hace | 1

| aceptada

Cargar más