Answered
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...

3 years ago | 0

Answered
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}

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 1

Answered
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...

3 years ago | 0

Answered
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 ...

3 years ago | 0

Answered
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] ;...

3 years ago | 0

| accepted

Answered
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...

3 years ago | 0

Answered
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.

3 years ago | 2

| accepted

Answered
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...

3 years ago | 1

| accepted

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 1

| accepted

Answered
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...

3 years ago | 0

| accepted

Answered
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'...

3 years ago | 0

Answered
how to change inputdlg & questdlg & listdlg ICON?
This addresses your question https://www.mathworks.com/matlabcentral/answers/91579

3 years ago | 1

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 1

| accepted

Answered
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...

3 years ago | 1

Answered
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...

3 years ago | 1

| accepted

Answered
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...

3 years ago | 3

Answered
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...

3 years ago | 1

Answered
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...

3 years ago | 1

| accepted

Answered
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...

3 years ago | 0

| accepted

Answered
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 ...

3 years ago | 1

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

| accepted

Answered
Convert 3DPointCloud into a plot XY (2D)
If the goal is to view the pointcloud from the top to see the XY plane, there's no need to replot the data. To view a 3D axes...

3 years ago | 0

Answered
How do I plot Gantt Chart for scheduling?
There are several Gantt Chart functions on the File Exchange. You could create your own Gantt chart by building on this quick...

3 years ago | 1

| accepted

Answered
How to automatically adjust the y-axis of a boxchart so that outliers are not considered?
> How can I automatically adjust the y-axis of those plots so that only the boxplots and the whiskery but not the outliers are c...

3 years ago | 2

| accepted

Load more