Réponse apportée
Select data from excel sheet from specific row to specific row
It's possible to specify rows to load by address,but NOT by cell content. You read the full file and then select the data desir...

plus de 2 ans il y a | 0

Réponse apportée
How to read binary file from PDIR-NOW data?
Attach the file itself; don't expect folks go offsite somewhere to try to retrieve your data for you... But, I did go look (not...

plus de 2 ans il y a | 1

Réponse apportée
How to Interpolate an entire data set
unzip Tide_Data_Final Tides=readtable('Tide_Data_Final.csv'); head(Tides) nnz(Tides.Tide) height(Tides) F=scatteredInterpol...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Can I put multiple colormaps on one figure?
colormap doc says... target — Target Figure object | Axes object |PolarAxes object | GeographicAxes object | standalone visua...

plus de 2 ans il y a | 0

Réponse apportée
Error when trying to use stackedplot with more than 1 y-value per plot
The feature to use multiple tables in stackedplot wasn't introduced until R2022b (see the "More About" section). So, there's no...

plus de 2 ans il y a | 1

Réponse apportée
How to decrease the font size of the values that are above each bar in the chart?
FONTSIZE=8; x4=categorical(["Ciclista"; "Material"; "Ocupante"; "Peatón"]); y4 = [6 40 5; 1500 691 21; 0 307 4; 0 106 22]; b4...

plus de 2 ans il y a | 0

Réponse apportée
How can I use the Classification Learner App with a table dataset which has some cells that are arrays?
"Predictor and response variables can be numeric, categorical, string, or logical vectors, cell arrays of character vectors, or ...

plus de 2 ans il y a | 0

Réponse apportée
Plot two sparameters in one Smith Chart
You didn't save the handle to the chart when you created by making it an app property; hence you don't have it available in the ...

plus de 2 ans il y a | 1

Réponse apportée
not able to use "actxserver" command in linux
No. Even if the target machine has Excel installed and running under Wine, there's no port of the COM communications infrastr...

plus de 2 ans il y a | 0

Réponse apportée
Matlab Opens smithplot in new figure
smithplot d = dipole; freq = linspace(60e6,90e6,200); s = sparameters(d,freq); hUIF=uifigure; % make a uifig...

plus de 2 ans il y a | 0

Réponse apportée
How to compress the logarithmic scale of both axes in a plot?
PA=[0.1;120]; PE=[48;20].*10.^[0 1 2 3]; semilogy(PA,log10(PE)); % look at y axis first; the 0C is tougher nut to crack... y...

plus de 2 ans il y a | 2

| A accepté

Réponse apportée
Writing a table too large for MATLAB
It depends upon what you mean by the request "...but my internship mentor wants a full gathered table for future applications." ...

plus de 2 ans il y a | 0

Réponse apportée
save a cell to multiple csv files in a for loop
I'd ask if it's really productive to create multiple files rather than keeping the data together in an array and process the arr...

plus de 2 ans il y a | 0

Réponse apportée
How to add an element to an entire array?
You're going to have to illustrate what you want -- and best would be to provide a small sample code that illustrates the issue ...

plus de 2 ans il y a | 0

Réponse apportée
Making new matrix with specific rows
Use <logical indexing>, a basic MATLAB syntax/idiom. If this isn't something you're not already familiar with, I'd suggest read...

plus de 2 ans il y a | 0

Réponse apportée
Plotting issue: wrong plotting output when number of rows equals number of columns
load AllSessionIndx load AllTracesPerCluster % see whos who... whos % and what values were set arbitrarily AniSession_C2_Fi...

plus de 2 ans il y a | 0

Réponse apportée
How do I selectively write from struct to excel
whos -file mystruct load mystruct whos mystruct head(mystruct) A=table2array(rows2vars(mystruct)); whos A A(1:10,:) B=cel...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to identify, if the variable is an array or not in a given MATLAB code?
_"In the above code, is theta1(n), theta2(n), theta1_hat(n), theta2_hat(n) are arrays or not?"_ As others have noted, in MATLAB...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Filter data by flag columns
load Lw %whos Lw Lw=addvars(Lw,datetime(Lw{:,1:6}),'NewVariableNames',{'Time'},'After',{'Second'}); Lw=removevars(Lw,[1:6]); ...

plus de 2 ans il y a | 0

Réponse apportée
How to change my matlab code. Is has no error in its present form.
To run all possible permuations doesn't need anything but to evaluate the distances for each sequence; there's nothing "best" ab...

plus de 2 ans il y a | 0

Réponse apportée
How to manipulate colors in plot for array?
"If you run this code, ..." Of course, we can't run this code because we don't have the data needed...but, to solve your proble...

plus de 2 ans il y a | 0

Réponse apportée
trying to use the dir / cd(dir) function, "error using cd. unable to change current folder to...(name is nonexistent or not a folder)" message appears
dir = 'C: \Users\X\Documents\school\Labdata.xlsx' ; Don't use dir as a variable name--it's a builtin function. Use something m...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
plot two arrays as y and x axis in matlab app designer
Show us what you've tried...this is trivial from the links I've shown you before. The only issue is you will have to convert th...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Why I am not able to get x and y labels after merging two subplots?
The X,Y labels aren't objects, they're properties that aren't carried over; why, precisely, I don't know; just the way copyobj b...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
accelerometer data shows nothing in FFT
d=readmatrix('usb_data_100hz2.17th.txt'); N=100; t=d(:,1)-d(1,1); plot(t(1:N),d(1:N,2)) xlim([t(1) t(N)]) dt=diff(t); [mea...

plus de 2 ans il y a | 0

Réponse apportée
how to create a combination of excel values in matlab
t=array2table([8 8 1;11 11 2].','VariableNames',{'V1','V2'}); % simulate table (next time attach the file) M=[t.V1 t.V2]; ...

plus de 2 ans il y a | 0

Réponse apportée
how to create a combination of excel values in matlab
M=[35 10 2;48 20 23].'; [m,b,e]=ndgrid(M(1,:),M(2,:),M(3,:)); v=arrayfun(@(m,b,e)m.*b.^e,m(:),b(:),e(:)) Surely an exponent o...

plus de 2 ans il y a | 0

Réponse apportée
Hi, can you help me fix my code? How can I convert this to a matrix using if/while/for statements?
Use the power of MATLAB; it is, after all, MATrixLABoratory... format short e; format compact P=2; % power range -- use...

plus de 2 ans il y a | 0

Réponse apportée
How to save uitable & uifigure into pdf file?
Since R2021b, see exportapp which will include uicontrols; prior functions could not. In the original, gcf doesn't return the h...

plus de 2 ans il y a | 0

Réponse apportée
How to generate report from matlab app designer
See exportapp

plus de 2 ans il y a | 0

Charger plus