Question

multiple comparison chart- how to override auto settings

On the chart, the click on horizontal lines, activate itself (become blue), neighbouring become grey, others red. A=5*ran...

7 months ago | 0 answers | 0

Question

How to replace lines by bars of varying color in Tukey HSD plot

In multiple comparison test Tukey HSD is plotted as lines. I expect the following customizations: 1. Replace all Horizontal L...

8 months ago | 1 answer | 0

Question

Extract files of specific extension from already searched folder

Myfolder contains various filetypes (various extensions). File search step is completed with Myfolder=dir('*.*') Inste...

8 months ago | 1 answer | 0

Answered

Is it possible to recover previous versions of a file saved in MATLAB Drive?

File recovery is one of the Biggest issue. Long time invested in doing code becomes directly to zero. Request to Matlab team to ...

Is it possible to recover previous versions of a file saved in MATLAB Drive?

File recovery is one of the Biggest issue. Long time invested in doing code becomes directly to zero. Request to Matlab team to ...

8 months ago | 0

Question

How to sort cell array of tables by size and concatenate vertically

<</matlabcentral/answers/uploaded_files/241262/IMG_20191005_212047.jpg>> A cell array consists of individual tables of differ...

8 months ago | 0 answers | 0

Question

How to segregate folders level wise and list the files folderwise

In Matlab 2016 onwards, commands like dir(**/*.extension) is available. However, it lists all the file list with its Pat...

8 months ago | 1 answer | 0

Answered

Compare and modify random vector with evenly spaced vector

Dear John, We generally perform search on google and mathwork site, before posting. 'Matlab help' sometimes lacks the example ...

Compare and modify random vector with evenly spaced vector

Dear John, We generally perform search on google and mathwork site, before posting. 'Matlab help' sometimes lacks the example ...

8 months ago | 0

Question

Compare and modify random vector with evenly spaced vector

A is vector randomly generated and length varies from 5-7. B is vector of evenly spaced values of length 10. Every element of A ...

9 months ago | 2 answers | 0

Question

How to repeat rows in fields of structure

The existing strucure has to be expanded along rows of fields. The actual structure contains many fieldsnames and rows in them. ...

1 year ago | 1 answer | 0

Question

How to concatenate two matrices into single with +/- sign between them (Matlab 2017b)

A=[1 2; 3 4] % Actual matrix is 100x100. B=[0.53 0.75; 0.23 0.14] % Number of decimal is high and expected to be 2 max % Expec...

1 year ago | 1 answer | 0

Question

How to plot equally distributed points on 1/8th part of Spherical surface?

x=0:1 y=0:1 z=0:1

1 year ago | 1 answer | 0

Question

How to generate multivariate random numbers that belong to various distributions

I am trying to generate multivariate random number according to various distributions such as beta, cauchy, levy, exponential, w...

1 year ago | 0 answers | 0

Question

error using writetable line 124 could not create or initialize worksheet

a=rand(1,2) b=rand(1,1) c='a' T=table(a,b,c) EN='Data.xlsx' writetable(T,EN) After all files are removed from workspace ...

1 year ago | 0 answers | 0

Question

Alternative to "round" for accurate accumulation

I have a vector A=[0.970, 0.486, 0.439, 0.0143, 0] % Ref vector from Algorithm-1 B=7 % Final sum expected from A ...

2 years ago | 1 answer | 0

Question

Struct contents reference from a non-struct array object

I have struct of arrays. When any struct is empty while concatenating, the above error is displayed. d=[s1.a.d;s2.b.d;s3.c....

2 years ago | 0 answers | 0

Question

Struct contents reference from a non-struct array object

(Not matching to prev questions on google).I have struct of struct of arrays. When any struct is empty while concatenating, the ...

2 years ago | 1 answer | 0

Question

Extract Common and Uncommon Matrix with Row Repetition

I want to segregate common and uncommon matrix with row Repetition. Current matlab commands ismember and setdiff do it by removi...

2 years ago | 1 answer | 0

Question

Sum of unequal sized matrices

I have matrix A of fixed size 100x2, and B is a matrix growing in size (row-wise) from 1 to 300 rows. The distance criteria is t...

2 years ago | 0 answers | 0

Question

Error with table subtraction

At the line d1, error appears that '-' is undefined operator. If bsxfun is used, error on numeric arrays is shown. Conversion o...

2 years ago | 2 answers | 0

Question

Find indices of repetitive values

In array a=[1,1,1,2,3,4,3]. I want to find indices of repeating (duplicate) values. Finally want to get the repeating value. Sh...

2 years ago | 2 answers | 0

Question

plot three variables of table

I have Matlab generated table T with four columns: A,B,C,D. I want to plot three columns B,C,D.Following command work only with ...

2 years ago | 2 answers | 0

Question

How to store value of each iteration in table and call that in another function

I am searching for above help, but could not found. Can you please put it through a Example code.

2 years ago | 1 answer | 0

Question

Calling previous iterations values from an matrix

when I run the code, "index exceeds matrix dimensions" error occurs. My aim is to find maximum row sum and when difference betwe...

3 years ago | 0 answers | 0

Question

How to Extract Vector from Matrix and Get them in Print

I have written code as below. a is input matrix. b (i) the vectors to be extracted. clear all, clc; a=[1 2; 3 4; 5 6; 7 ...

3 years ago | 1 answer | 0