Réponse apportée
Extracting data from histogram plots
3 methods to group data and compute mean for each group Each method deals with empty bins differently. discretize + splitappl...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Zooming Into UIAxes Image Changes Axis Shape and Position: Why, and How Do I Fix?!
Your intuitions are correct. Panning and zooming reset the CameraPosition and CameraTarget back to default states which explain...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
Spectral clustering: K-means replicates setting to improve reliability
If you open spectralcluster, you'll see that kmeans is being called with a Replicates value of 5 and there is not a way to speci...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
plotting a function and values from a table
> how do I plot the actual line's equation? The assignment is to plot the line at intervals of 0.001pi between 0 and 0.2pi, no...

plus de 3 ans il y a | 0

Réponse apportée
How can I add to cell arrays like I do with normal arrays?
T = {1234,80,'matlab','12',rand(4)} TT = [T,7:9] or T(end+1) = {7:9}

plus de 3 ans il y a | 0

Réponse apportée
How to control UI progress dialog box 'uiprogressdlg' size and position
The figure generated by uiprogressdlg should not be a child of the figure and does not have accessible position properties. A...

plus de 3 ans il y a | 0

Réponse apportée
How can I determine what add-ons I have installed?
A programmatic way to list all user-installed toolboxes, available since R2016a. Note, these are not the same as MATLAB Toolbox...

plus de 3 ans il y a | 1

Réponse apportée
Determine if an element in array of doubles start with patten
Here's a demo that finds the first value in a vector that has a first digit equal to 4. The values can have any number of digit...

plus de 3 ans il y a | 0

Réponse apportée
Animation of multiple Quivers
The hold command merely prevents the axes from being cleared when you add new graphics objects to the axes. You can manipulate ...

plus de 3 ans il y a | 0

Réponse apportée
Ploted graphs in tiled layout extends beyond figure
The problem is that t1 has a layout of 3x1 but t3 which is nested in t1 is set to a span of 2x3. t3.Layout.TileSpan = [2 3] ;...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
patternnet throwing error on iris_dataset
I am unable to reproduce this error using the same release (R2022b, Deep Learing TB 14.5). In net = train(net,x,t), make sur...

plus de 3 ans il y a | 0

Réponse apportée
How can make the user not be able to change tabs by clicking on them Matlab app designer?
See this related answer: Control tab selectivity.

plus de 3 ans il y a | 2

| A accepté

Réponse apportée
How to label the numeric values at the end of a stack in a stacked bar graph?
Here's a demo you can adapt to your needs. I reworked a bit of your code to Use categorical x values instead of setting xtic...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
How to remove rows of zero's occurring prior to rows of desired data?
This demo makes the following assumptions The first row of non-zeros is the first row of the data you'd like to isolate. The l...

plus de 3 ans il y a | 0

Réponse apportée
No way to plot correctly dashed and dotted lines using painters
Thanks for reporting this issue. Here's a workaround I came up with after some trial and error. After running the code from y...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
identify the pixel color as a single number (no RGB triplet)
Is there a way to display the single number (not the RGB triplet)? Here are two ways to explore the CData in your image interac...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Professor needs specific color for bar graph, but the hex code for the color is not working.
Color options for bar(__,color) are described in the documentation and include short names (e.g. 'r') and long names (e.g. 'red'...

plus de 3 ans il y a | 0

Réponse apportée
how to change inputdlg & questdlg & listdlg ICON?
This addresses your question https://www.mathworks.com/matlabcentral/answers/91579

plus de 3 ans il y a | 1

Réponse apportée
Problem passing a function handle into icare
A_cen and B_cen are functions that require 1 input. Fill in the 2 blanks below. The input to A_cen should have at least 3 elem...

plus de 3 ans il y a | 0

Réponse apportée
Weird behavior for pagemrdivide matlab 2022b vs 2022a
Be on the lookout for the next update (update 4) to MATLAB R2022b. 3 Ways to check for MATLAB Updates https://www.mathworks.c...

plus de 3 ans il y a | 0

Réponse apportée
Plot property 'DateTimeTickFormat'
When tick label format is not specified, datetime tick labels are automatically selected based on the range of your data and the...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
polar plot multiple legend
Call legend once after both lines are added and include a name for each line. legend(["49Hz","62.5Hz"]); Alternatively, assig...

plus de 3 ans il y a | 1

Réponse apportée
Error : A and B must be floating-point scalars
This is a lesson to avoid using global variables. You're not using them properly here. But instead of fixing that, I'll sugg...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
How Can I nest multiple tables?
Starting in MATLAB R2018b, tables can be nested as subtables by adding a table as a table variable. Lancaster = table(rand(5,1...

plus de 3 ans il y a | 3

Réponse apportée
Can you have a multilevel table?
An alternative to @Voss's execellent answer is to create the nested table(s) and then add the nested table(s) as a table variabl...

plus de 3 ans il y a | 1

Réponse apportée
Sub heading in matlab table
There isn't an option to arrange subheadings as described in your attached image. However, there are several ways to rearran...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
Get output values from addlistener
> The new ROI data would be used as "coordinates" to calculate other parameters of my code There's no need for a listener to a...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How do I rotate a square /rectangle using line as the reference point? Thank you
I believe you're asking how to rotate the polyshape about its centerpoint. If so, specify the reference point of rotation using ...

plus de 3 ans il y a | 1

Réponse apportée
Running a timer inside another timer
The problem seems to be that the line that starts deprivTimer uses "app.deprivTimer" but "app" is not one of the input arguments...

plus de 3 ans il y a | 0

Réponse apportée
How to generate a polar plot in a for loop
It looks like you are plotting single points. The default marker is 'none' such that the function produces lines without marker...

plus de 3 ans il y a | 0

| A accepté

Charger plus