Réponse apportée
Change font size on plot but it's cut-off
Suggestion 1: used tiledlayout Axes produced in tiledlayout usually handle these situations better. Suggestion 2: check the P...

environ 4 ans il y a | 0

Réponse apportée
“chasePlot” doesn't show ego vehicle
chasePlot is outside my area of expertise but I did some digging found that if you change the ViewLocation of the scene then you...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
loop for removing highest value until specific value is reached
A = randi(13,10); while sum(A,'all','omitnan')>20 [~,idx] = max(A(:),[],'omitnan'); A(idx) = NaN; end isRemove...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to plot a graph like hist without using hist
>but when I use hist it omits the equal values hist does the binning, counting, and produces the plot. If "17" occurs 3 times,...

environ 4 ans il y a | 1

Réponse apportée
Creating a string with Permutation
I believe this is what you're working toward. Axes_name = {'sint0.2';'sint0.5';'sint0.7'}; fold_2 = {'BCA';'BPCA';'DLA';'DLCA'...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Saving multiple figures together to a PDF
Thanks for providing the code! The question title makes it seems like you're plotting multiple figures but your code shows that...

environ 4 ans il y a | 0

Réponse apportée
Plot and bar with descending data and double yaxes
You're adding the green line to the left y-axis. Switch these two lines plot(y1,'green') yyaxis right % to yyaxis ri...

environ 4 ans il y a | 0

Réponse apportée
Which Anova test and how to use it?
I recommend using bootstrapped confidence intervals. The idea is to resample your accuracy data with replacement and compute th...

environ 4 ans il y a | 0

Réponse apportée
How to make a matrix with mixed string and number elements ?
I think this is your goal N = 10; M = 4; str = compose("x%04d",1:N*M); A = reshape(str,M,N)' Note that this is referred to...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
Save matrix as a spreadsheet image
Storing numeric data in images makes it difficult to work with those data later on but I remember a use-case for this back when ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
how to return cell array with varargout?
myCell = cell(1,3); [myCell{:}] = myfunc(__)

environ 4 ans il y a | 0

| A accepté

Réponse apportée
app will dispear when using uisetcolor as colorpicking function
uisetcolor is a modal dialog meaning it blocks interaction with other windows until the user closes it. After the dialog is clo...

environ 4 ans il y a | 0

Réponse apportée
Get data from xls file.
> i need a comand to check the numbers in column A and anywhere that 6 change to 7 show me the entire rows for last 6 and where...

environ 4 ans il y a | 0

Réponse apportée
how can i add the numers on the heatmap?
The cell values in heatmap appear when the figure is large enough to fit them in. Increase your figure size or decrease the den...

environ 4 ans il y a | 0

Réponse apportée
meaning of exponential factor in MATLAB output
1.0e-112 is 100 septrigintillionths or or 0.0000.....1 where there are 111 zeros to the right of the decimal place. Multipl...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
How to add numerical value in the stacked bar chart
Follow this example that uses XEndPoints and YEndPoints bar properties to compute the center of each stacked bar. The text show...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Problem with splitapply (bin averaging)
The grouping variable in splitapply is expected to be a vector of positive integers 1 to n and cannot contain a missing group va...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Finding weighted sum of multiple curves
The first step of applying a weighted sum is to define the weights so until you know that, you can't use that method. Instead,...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
When I click an image, it doesn't enter its callback
See Callbacks in App Designer. Try this: image(dispImg, 'Parent', app.UIAxes, 'ButtonDownFcn', @(src,event)ImageClicked(app,sr...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
Creating a polar bar chart or circumplex chart (not a histogram)
See polarhistogram. If you have data suitable for a bar plot and, therefore, you don't need to compute the bins and bar heights...

environ 4 ans il y a | 2

| A accepté

Réponse apportée
Take 102 Elements Equally Spaced of an Existing Array
> Is there a way to solve this issue? No. 991 is not divisible by 102. The following is a 102 vector starting with 1 and end...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
Readtable don't work correctly if 'Range' > 'A250'
Update: The 250 line limitation is no longer a problem starting in MATLAB R2023a. Thanks for reporting this. Workaround prior ...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
how can I plot a graph over an image in Matlab?
Plot the image using image or imagesc or some other image function that allows you to specify the x and y values of the image. ...

environ 4 ans il y a | 2

Réponse apportée
Accessing cell array contents
See cellfun In this example, the cell array is named myCellArray and the variable is named myVar. y = cellfun(@(A)A.myVar(en...

environ 4 ans il y a | 2

Réponse apportée
Converting wind/wave data to hourly data by interpolation
If the durations are consecutive, then I suggest creating an time stamps based on the durations which allows you to use retime t...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to plot correlation coefficient matrix plot?
Assuming you already have the correlation matrix, use heatmap. The upper triangle can be filled with NaNs. S = load('Data_Can...

environ 4 ans il y a | 2

Réponse apportée
A green arrow in an m-file
You are in debug mode. The green arrows hows the line at which MATLAB is currently paused. how did I get here? There a...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
+60k Lines on one plot - Too slow
Another idea is to plot your 60k lines as a 2D density plot (initially suggested in this thread). Pros: 1 graphics object, l...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to convert fprintf from single row to multiple rows?
I assume you want to show each numeric value in a new line. To do that, add a new line control character where you want to inse...

environ 4 ans il y a | 0

Réponse apportée
how I show all the numbers in y axes
> its important to me that all the numbers appears even these small changes Is your concern that readers will not believe that ...

environ 4 ans il y a | 0

Charger plus