답변 있음
Give title for Table
You could effectively give a title to a table by nesting the table within another single-column table that contains the title. ...

대략 5년 전 | 4

| 수락됨

답변 있음
Delete every second element in array
To delete every second element in an array starting with element #2, x(2:2:end) = []; or starting with element #1, x(1:2:end...

대략 5년 전 | 1

| 수락됨

답변 있음
color coding data points
> I want to plot the data and color each data point with certain color depending on its value That's what scatter or scatter3 i...

대략 5년 전 | 0

답변 있음
How can I implement colormap in subplots?
We can't run your code even with the attached data.mat file because it does not contain all of the variables or functions in you...

대략 5년 전 | 0

답변 있음
How can I save output of anovan as PDF?
One option is to save the table variable to a text file using writecell but it will not maintain its format. It can, however, b...

대략 5년 전 | 1

답변 있음
Help using grpstats function to get number of occurances per row on a table.
C = {'China','Hong Kong', '', 'China' '', 'Switzerland', '', 'Switzerland' 'United States', 'Ireland', '', 'United Sta...

5년 초과 전 | 1

답변 있음
Plot only specific categorical values / scatterplot
>I only want to plot some specific values of shop_name ("A", "B", "D") Using idexing. But with categories you also need to set...

5년 초과 전 | 2

| 수락됨

답변 있음
Save a Uitable with coloured cells as as png.
One solution is to put the uitable within a uipanel and then use exportgraphics to export the table. If you want to export the...

5년 초과 전 | 1

답변 있음
how to change disp for fprintf
Starting in Matlab r2021a, you can use formattedDisplayText() to capture anything that is displayed by disp(). See a summary o...

5년 초과 전 | 1

답변 있음
How to make disabled GUI objects not dimmed?
Set the Enable property of the GUI/App object. If you want to toggle the enablem property of several components located togeth...

5년 초과 전 | 0

답변 있음
App designer - uiputfile is saving the file to the wrong path
Always go directly to the documentation to understand the expected behavior of a function. uiputfile returns up to 3 ouputs. ...

5년 초과 전 | 1

| 수락됨

제출됨


boxplotGroup
Group boxplots together along the x-axis with space between groups.

5년 초과 전 | 다운로드 수: 4 |

5.0 / 5
Thumbnail

답변 있음
Ignore first 5 lines
If the data is organized in rows, then you should use a file reading function designed for tabular data: readtable | readcell | ...

5년 초과 전 | 0

답변 있음
How to loop through all the input of a function
As mentioned in the comments by Matt J and myself under this question, the only two recommended solutions to looping over input ...

5년 초과 전 | 0

답변 있음
How to find out Standard Deviation from FIT
Do you want the standard deviation of the residuals? If so, compute the residulas and apply std(). Or maybe you're looking for...

5년 초과 전 | 0

답변 있음
Files, Arrays, & Plotting
You mentioned rows of data so I'm guessing the files tabular data. In that case, the files can be imported using readtable | re...

5년 초과 전 | 0

답변 있음
How can i draw histogram ?
This isn't a histogram. It's a bar plot. Hint: follow this example from the documentation to create a grouped bar plot. Set...

5년 초과 전 | 0

답변 있음
How to add lines between specific rows and col's in a table?
No, it is not possible to display horizontal and vertical lines in a table or in a uitable. You could add a column of charact...

5년 초과 전 | 2

| 수락됨

답변 있음
Enable on/off take effect only after window resize
First, this is not the best approach to disabling all components. Two alternatives that are much simpler and offer easier contr...

5년 초과 전 | 0

| 수락됨

답변 있음
Plot from cell array
It looks like you're trying to create a stackedplot with 2 lines per axes which is demonstrated here: https://www.mathworks.com...

5년 초과 전 | 0

답변 있음
how to plot two graphs in one plot
You're reversing the y-axis with this line in your code. set(gca,'ydir','reverse') If you want the y-axis direction to be norm...

5년 초과 전 | 0

| 수락됨

답변 있음
How to fit nonlinear data in a curve using the below equation?
The error message is quite clear, Exiting due to infeasibility: at least one lower bound exceeds the corresponding upper bound...

5년 초과 전 | 0

| 수락됨

답변 있음
Plotting over a histogram
You're plotting a normal probability density function which are probabilities between 0 and 1 that sum to 1 (depending on sampli...

5년 초과 전 | 2

| 수락됨

답변 있음
Delete axes interactions not working?
Difference between toolbar and interactions Interactions are the actions available by using the mouse to zoom/pan/rotate etc th...

5년 초과 전 | 2

| 수락됨

답변 있음
Using data cursor with pcolor
@Mark Brandon, For 3D patches the color data does not have to correspond to the zdata. For example, You could have a 4D array w...

5년 초과 전 | 5

답변 있음
Difference between switch and if
if/elseif/else is quite similar to switch/case/otherwise. Both provide a default action when no conditions are met (else & other...

5년 초과 전 | 6

| 수락됨

답변 있음
Axis limits not working
xlim, ylim, zlim should have worked. You need to set them after you plot the scatterbar3.

5년 초과 전 | 1

| 수락됨

답변 있음
removing the text data by only keeping the numerical values
Use readtable or readmatrix. Both functions allow you to specify the starting line of the data.

5년 초과 전 | 0

답변 있음
How to change axis of figure and shift matrix?
Specify the x and y coordinates using the syntax imagesc(x,y,C) x and y are merely 1x2 vectors of axis limits so it should be q...

5년 초과 전 | 1

| 수락됨

답변 있음
removing trailing zeros at the end of floating number
format long x = -3.265000000000; str = sprintf('%g\n',x) x = -3.2650000000001; str = sprintf('%g\n',x)

5년 초과 전 | 0

더 보기