Réponse apportée
How to use hold command with Plotyy and Subplot?
Using the features TMW has given us more recently...in particular, datetime and yyaxis along with using some data organization b...

plus de 6 ans il y a | 0

Réponse apportée
Is it possible to create x tick labels with a fixed width
AFAIK, no, that's an amenity TMW hasn't yet provided with the ticklabel property. It's a very simple text string with formattin...

plus de 6 ans il y a | 0

Réponse apportée
How to select the part of the tables in a cell?
N1=98; C=cellfun(@(t) t(N1:end,:),C,'uni',0);

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
how to create a numeric tick label offset
x=[384230 384231 284232 ...]; X0=384200; % offset value -- uses arbitrary origin hL=plot(x-X0,y); ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Save .xls in certain folder
You saved the variable app.Pedobarography_Values in the file 'Pedobarography_Values.xslx' but by the documentation for xlswrite ...

plus de 6 ans il y a | 0

Réponse apportée
How to delete axes and tick in figure?
Precisely. As your question says, you're trying to mess with axis properties, not those of the figure. Substitute hAx=gca; ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
How do you make individual points in a loglog graph appear? I am looking for the slope.
hLL=loglog(melting,temperature,'x-'); % Save line handles; line + marker 'x'

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
How to read rows of data in .csv file and turn them into arrays?
textscan is record oriented. Your file has sections; you have to read a section, rinse and repeat. Something like fmt1='delay...

plus de 6 ans il y a | 0

Réponse apportée
error only showing up with one for loop -- can't figure out what the problem is? going crazy?
Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 257-by-1. Error in...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Minimize cmd.exe window launched from MATLAB?
Use a batch file or multiple command on the executable and START yourbatch /MIN to create the process minimized. Kick this o...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
How to group variables together
Not as "folders" per se, no. MATLAB doesn't have the concept of a scoping mechanism for variables independently. Where you see...

plus de 6 ans il y a | 0

Réponse apportée
Read from an Excel File and assign index that have the max/min value
Use the optional returned location variable and ind2sub to convert the position to coordinates. See the documentation; it shows...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
"the variable assigned to a may be unused"
In %the build max heap function function maxheap = buildmaxheap(x,n) a = x; for i = floor(n/2):-1:1 %call heapify t...

plus de 6 ans il y a | 0

Réponse apportée
Polyfit minus one term
Without toolbox, use backslash operator, \ X=[x.^[3 2 1 0]]; X(:,2)=0; % design matrix straight calculation b=X\y; ...

plus de 6 ans il y a | 0

Réponse apportée
position of axis label
"There is no property to set to make the positioning automatic." Ah, but there is...unfortunately, it's another of those frustr...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
How to remove points from a plot during pause
Indeed, pause halts virtually everything...I'm not a GUI guy but two possibilities I can think of; there may be better for those...

plus de 6 ans il y a | 0

Réponse apportée
How to load selected files, in a sequence, and implement them in a for loop?
"I want to process 400 frames, every 800 frames, and keep doing this for the length of the files..." ... nProc=400; nSkip=80...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Plotting Error bars using minimum and maximum values in Matlab
Just make a vector of max(y), min(y) the same length as x and add/subtract to the mean for the error bar lengths. Since both fu...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Iterate thru each row on a Matrix and return the result on a vector
Don't need no steenkin' loops! This is MATLAB!!! :) kurt=kurtosis(y.').'; Above uses the fact that most ML functions in gener...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
timetable 2 table error
Don't need to convert, plot() is overloaded to be datetime aware. Just use the t-table time variable (presuming that's what you...

plus de 6 ans il y a | 2

| A accepté

Réponse apportée
I receive error when trying to use a simple OLS function?
"...certainly nothing should be out of context here. " Well, other than the missing function, the error says line 33 and there'...

plus de 6 ans il y a | 0

Réponse apportée
readmatrix for single Excel cells
Don't have recent-enough version here to test to confirm, but if is so and reproducible on latest release, that would appear to ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Scatter plot with categorical x axis
'pixels' isn't an allowable argument for the x value position...it's a char() array string array and that's confusing the input ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Getting this error "In an assignment A(:) = B, the number of elements in A and B must be the same."
dec2hex returns the character representation of the value in its argument in hexadecimal...that will be in your case an array of...

plus de 6 ans il y a | 0

Réponse apportée
How to write a Loop to run a specific code to every table in a cell
D='C:\Users\Behzad\Desktop\New folder (2)'; d=dir(fullfile(D, '*.xlsx')); for i=1:numel(d) tt=readtable(fullfile(d(i).folde...

plus de 6 ans il y a | 3

Réponse apportée
how to compute the average of several repeats of a program in matlab?
An array for multiple LHS assignment cannot contain expressions. in [Arforest(k), ADT(k) , Ask(k)] = allaccuracydata(rforest(k...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
No appropriate method, property, or field 'Lables' for class 'matlab.io.datastore.ImageDatastore'.
It's spelled "labels", not "lables" testLabeles=testSet.Lables; should be testLabels=testSet.Labels; Of course, let the auto...

plus de 6 ans il y a | 2

| A accepté

Réponse apportée
Find variable name of categorical values repeated a number of times
This is one of two ways...convert to a string represenation so can use string matching functions or use logical addressing and t...

plus de 6 ans il y a | 0

Réponse apportée
How can I solve a dlmread error on A2016a?
dlmread will read ONLY numeric data; the message is telling you there's alphanumeric data in the section of the file you're tryi...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
configuration of subplots - editing titles, fonts and so on
That would be the obvious solution, yes. If the specific title is more or less random text, that's about the only way other tha...

plus de 6 ans il y a | 0

Charger plus