답변 있음
How to plot scattered data YZ with diffrent color for each slice X of 3 dim matrix XYZ
I think you're describing this. Cfull = repmat(repelem(C,size(F1,1),1),size(F1,3),1); scatter(F1(:),F2(:),40,CFull,'filled'...

대략 6년 전 | 0

답변 있음
Yet another create, numbered, figures with visible off
You can use a 2-liner. f = figure(1); f.Visible = 'off'; Or, you could put it into a function so that you can use a 1-line...

대략 6년 전 | 2

답변 있음
Counting using Statistics tools
Presumably you already have the (x,y) coordinates if you've plotted the data. You just need to use indexing (the main superpow...

대략 6년 전 | 0

| 수락됨

답변 있음
How can I add colors to a k-means gscatter plot based on a certain cluster?
The second gscatter syntax in your question looks correct, gscatter(score(:,1),score(:,2),grp,[0.4940 0.1840 0.5560;1 0 0;0 0....

대략 6년 전 | 0

답변 있음
how to remove a row that contains inf from a table
inf values are definitly not missing-value indicators. They are no different than the value 7 or pi. The solution in the 2nd...

대략 6년 전 | 0

| 수락됨

답변 있음
Error using num2cell Too many input arguments.
I'm guessing that the edit field all contain either scalar numeric values or row vectors of numeric values. If that's the case,...

대략 6년 전 | 0

답변 있음
Conversion to double from cell is not possible.
There might be an option in readtable() or within the opts input that can specify what decimal character to use when reading in ...

대략 6년 전 | 0

| 수락됨

답변 있음
AppDesigner: Replace in all .ValueDisplayFormat € with $
Here's a cleaner approach. Step 1: Add a function to control the ValueDisplayFormat Add the following function to your app [...

대략 6년 전 | 0

| 수락됨

답변 있음
Adding a Legend to Scatter Shapes on a Map
Step 1: Define the legend strings using DisplayName Example h1 = scatter(___, 'd', 'DisplayName', 'Diamond meaning'); h2 = sc...

대략 6년 전 | 0

| 수락됨

답변 있음
Passing Data between Apps
The documentation you mentioned, Creating Multiwindow Apps in App Designer, shows how to pass data both ways. If there's a sect...

대략 6년 전 | 2

| 수락됨

답변 있음
add row to table in app designer - works ... but not completely
If the uitable already has 18 columns, Follow the example shown here. app.UITable.Data = {0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

대략 6년 전 | 0

| 수락됨

답변 있음
Displaying properties defined in MATLAB application
I just opened app designer and tried to set the value of a spinner to 1.3139 + 0.0069i. I received the same error as you. 'Va...

대략 6년 전 | 0

답변 있음
Create grid of sums from scattered data
Use histcounts2 to determine which bins each photon is hitting. Then you can add the weights for photons within the same bin. ...

대략 6년 전 | 2

| 수락됨

답변 있음
How to put string to a column of a table
"... but it appears NaN in the cells of the Role column." Sounds like the Role column is an empty cell array or a numeric c...

대략 6년 전 | 2

답변 있음
What is the difference between matlab mobile and matlab r2020a?
Here is an overview of Matlab Mobile. Scroll to the bottom to System Requirements > Limitations to see a list of features not s...

대략 6년 전 | 0

답변 있음
change text colour in foreground of line plot
The color of pixels in a text object cannot be independently changed. Here are some things you can try to improve the label r...

대략 6년 전 | 0

답변 있음
Has anyone found a way to enable/disable tabs in App Designer?
As of r2020a, there isn't an option to set the visibility or 'enable' property of a tab. However, you can control which tabs ca...

대략 6년 전 | 3

답변 있음
build a circle using the latitude and longitude values
Here's a demo that you can apply to your data. % Define the center of the circle target = [lon,lat]; % where lon and lat are...

대략 6년 전 | 0

| 수락됨

답변 있음
export_fig stretch figure making unreadable
Is the problem with the fontsize? Is the export cropping the legend? Is the problem with the position of the legend? You ca...

대략 6년 전 | 0

답변 있음
How to extract corresponding values of x-axis based y-axis values.
[z, zIdx] = mink(y,7); xz = x(zIdx);

대략 6년 전 | 0

| 수락됨

답변 있음
How to turn off the reference lines for a Weibull Plot?
If you're trying to remove the grid lines, h = wblplot(_____); % add your inputs, get the output handle grid(h(1).Paren...

대략 6년 전 | 1

| 수락됨

답변 있음
How to calculate date length between 2 dates
Replace 'data' with your datetime values in string format. If your datetime values are already in datetime format, replace 'dt'...

대략 6년 전 | 0

| 수락됨

답변 있음
Why am I receiving this error when using the vartestn function?
In the code you shared, I see 3 inputs and one name-value pair. vartestn(Table.trialNum, Table.Sex, Table.ID, 'TestType', 'Lev...

대략 6년 전 | 0

| 수락됨

답변 있음
How to extract data from all matrixes of a cell array?
For cell array "C" newArray = cellfun(@(a){{a(1,1:456000);a(1,456000:764500)}},C); newArray = [newArray{:}]; newArray is a 2...

대략 6년 전 | 0

| 수락됨

답변 있음
How to duplicate the number of rows in a table based on frequency
T2 = T(repelem(1:height(T),T.N),:); T2.N = ones(size(T2.N));

대략 6년 전 | 0

| 수락됨

답변 있음
Speed up frames per second
There are several steps you can take to speed up the animation. Optimize the loop See inline comments for recommendations....

대략 6년 전 | 1

| 수락됨

답변 있음
Copying colums from table to a new table
Follow the demo; see inline comments for details. % Create 3 timetables of different heights dt = datetime(2000,1,1,0,0,0) + ...

대략 6년 전 | 0

| 수락됨

답변 있음
How to do tiledlayout for Boxplots?
As of r2020a, you can use the new boxchart() function which is a "stand alone visualization" version of the boxplot() function b...

대략 6년 전 | 2

답변 있음
Adding a scatter of points in different colour to a boxplot
The code in the question is from this answer. To use different colors for each group of points, you can plot the points withi...

대략 6년 전 | 0

| 수락됨

답변 있음
Copying axes into Figure only copies the half of the actual plot.
In addition to copying the axis children, copy the axis properties, too, especially the axis limits. linkaxes linkprop

대략 6년 전 | 1

| 수락됨

더 보기