Beantwortet

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

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

17 Tage vor | 0

Beantwortet

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}

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}

20 Tage vor | 0

Beantwortet

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

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

etwa ein Monat vor | 0

Beantwortet

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

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

etwa ein Monat vor | 1

Beantwortet

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

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

etwa ein Monat vor | 0

Beantwortet

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

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

etwa ein Monat vor | 0

Beantwortet

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

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

etwa 2 Monate vor | 0

| akzeptiert

Beantwortet

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

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

etwa 2 Monate vor | 0

Beantwortet

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.

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.

etwa 2 Monate vor | 2

| akzeptiert

Beantwortet

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

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

etwa 2 Monate vor | 1

| akzeptiert

Beantwortet

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

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

etwa 2 Monate vor | 0

Beantwortet

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

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

etwa 2 Monate vor | 0

| akzeptiert

Beantwortet

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

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

2 Monate vor | 0

| akzeptiert

Beantwortet

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

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

2 Monate vor | 0

Beantwortet

how to change inputdlg & questdlg & listdlg ICON?

This addresses your question https://www.mathworks.com/matlabcentral/answers/91579

how to change inputdlg & questdlg & listdlg ICON?

This addresses your question https://www.mathworks.com/matlabcentral/answers/91579

2 Monate vor | 1

Beantwortet

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

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

2 Monate vor | 0

Beantwortet

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

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

2 Monate vor | 0

Beantwortet

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

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

2 Monate vor | 1

| akzeptiert

Beantwortet

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

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

2 Monate vor | 0

Beantwortet

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

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

2 Monate vor | 1

| akzeptiert

Beantwortet

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

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

2 Monate vor | 1

Beantwortet

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

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

2 Monate vor | 1

Beantwortet

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

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

2 Monate vor | 0

| akzeptiert

Beantwortet

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

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

2 Monate vor | 0

| akzeptiert

Beantwortet

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

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

2 Monate vor | 0

Beantwortet

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

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

2 Monate vor | 0

Beantwortet

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

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 Monate vor | 0

| akzeptiert

Beantwortet

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

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 Monate vor | 0

Beantwortet

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

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 Monate vor | 0

| akzeptiert

Beantwortet

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

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 Monate vor | 1

| akzeptiert