Communication through MATLAB is always better than arguing.

Answered

Does anyone know what block is this?

Gain and sum block inside a subsystem, atleast to me ;)

Does anyone know what block is this?

Gain and sum block inside a subsystem, atleast to me ;)

32 minutes ago | 0

Answered

how to use saveas specify the size of plot when one save the plot

<https://www.mathworks.com/help/matlab/creating_plots/save-figure-at-specific-size-and-resolution.html> - see release first

how to use saveas specify the size of plot when one save the plot

<https://www.mathworks.com/help/matlab/creating_plots/save-figure-at-specific-size-and-resolution.html> - see release first

2 hours ago | 0

| accepted

Answered

save matrix in loop to 3D matrix (storage all inkomming matrix)

M = cell(n, 1); % n - number of files for k = 1:n M{k} = load(filenames{k}); % assuming you saved filenames in a cell a...

save matrix in loop to 3D matrix (storage all inkomming matrix)

M = cell(n, 1); % n - number of files for k = 1:n M{k} = load(filenames{k}); % assuming you saved filenames in a cell a...

3 hours ago | 0

Answered

Why a figure window with a certain figure number cannot be opened?

That’s why you should assign a handle to the figure.

Why a figure window with a certain figure number cannot be opened?

That’s why you should assign a handle to the figure.

4 hours ago | 0

Answered

Avoid lower case in legend by plotting legend with 'DisplayName'

Use labels without _ . regexprep('001_M1_Distance_0.5m_AKG_C1000S_F1_MS1','_','') % to remove underscores

Avoid lower case in legend by plotting legend with 'DisplayName'

Use labels without _ . regexprep('001_M1_Distance_0.5m_AKG_C1000S_F1_MS1','_','') % to remove underscores

5 hours ago | 0

Answered

Conversion to logical from sym is not possible

4 * u % ^ Give assumptions for u: assume(u > 0) D1 = isAlways(4-4*u < 0) D2 = isAlways(4-4*u == 0) D3 = isAlways(4-4*u > ...

Conversion to logical from sym is not possible

4 * u % ^ Give assumptions for u: assume(u > 0) D1 = isAlways(4-4*u < 0) D2 = isAlways(4-4*u == 0) D3 = isAlways(4-4*u > ...

6 hours ago | 0

| accepted

Answered

calling the variable from one script to another one and making a plot

save CL1 % in 2 load CL1 % in 1

calling the variable from one script to another one and making a plot

save CL1 % in 2 load CL1 % in 1

6 hours ago | 0

| accepted

Answered

A year containing a date or not

strcmp(string(datetime(2050,30,1,'format','eeee')),"Sunday")

A year containing a date or not

strcmp(string(datetime(2050,30,1,'format','eeee')),"Sunday")

14 hours ago | 0

Answered

extracting values above 0 in an array and putting them in a new array

matrix(matrix <= 0) = inf; Wanted = min(matrix)

extracting values above 0 in an array and putting them in a new array

matrix(matrix <= 0) = inf; Wanted = min(matrix)

14 hours ago | 0

Answered

how to find max to min of colum value and display with rows

ROM = [device(1:size(block,1)).', sortrows(block, 2, 'descend')]

how to find max to min of colum value and display with rows

ROM = [device(1:size(block,1)).', sortrows(block, 2, 'descend')]

15 hours ago | 0

Answered

Create custom matrix with user-defined parameters

x = 4 ; y = 3 ; [ X, Y ] = meshgrid( 1 : x, 1 : y ) ; Alternator = repmat( ( - 1 ) .^ ( 1 : numel( X ) ).', 1, 2) ; z = [ X(...

Create custom matrix with user-defined parameters

x = 4 ; y = 3 ; [ X, Y ] = meshgrid( 1 : x, 1 : y ) ; Alternator = repmat( ( - 1 ) .^ ( 1 : numel( X ) ).', 1, 2) ; z = [ X(...

17 hours ago | 0

| accepted

Answered

fft 함수에 의한 필터링

F = ... some values dt = ... n = ... index1=round(F*dt*n+1) index2=round(n-F*dt*n+1)

fft 함수에 의한 필터링

F = ... some values dt = ... n = ... index1=round(F*dt*n+1) index2=round(n-F*dt*n+1)

18 hours ago | 0

Answered

Unrecognized function or variable 'gaussf'.

There's no function named gaussf , you need to contact the author of the file.

Unrecognized function or variable 'gaussf'.

There's no function named gaussf , you need to contact the author of the file.

18 hours ago | 0

Answered

how to find max of a column and run it in a loop

C = sortrows(block, 2, 'descend') %?

how to find max of a column and run it in a loop

C = sortrows(block, 2, 'descend') %?

19 hours ago | 0

| accepted

Answered

Repeat a string in multiple cells at once within an array

clear data curString = {'value'} data(1:5,1) = curString

Repeat a string in multiple cells at once within an array

clear data curString = {'value'} data(1:5,1) = curString

20 hours ago | 0

Answered

how to give column header name

BLOCK = table; BLOCK.channeL = block(:, 1); BLOCK.quality = block(:, 2)

how to give column header name

BLOCK = table; BLOCK.channeL = block(:, 1); BLOCK.quality = block(:, 2)

20 hours ago | 0

| accepted

Answered

what can I do to VetorN always be an even number.

Increment with 2 from 2. doc colon

what can I do to VetorN always be an even number.

Increment with 2 from 2. doc colon

1 day ago | 0

| accepted

Answered

how to plot a unit step function in MATLAB using syms command and create signum function first

<https://www.mathworks.com/help/symbolic/heaviside.html>

how to plot a unit step function in MATLAB using syms command and create signum function first

<https://www.mathworks.com/help/symbolic/heaviside.html>

1 day ago | 0

Answered

compressing a code, help me

VetorN = fix( (20 * sqrt(2) .^ (0 : 5) ) ) MD0 = VetorN * 3; MD0(end - 1) = [ ]

compressing a code, help me

VetorN = fix( (20 * sqrt(2) .^ (0 : 5) ) ) MD0 = VetorN * 3; MD0(end - 1) = [ ]

1 day ago | 0

| accepted

Answered

How to make multiple strings arrays of repeating word and number?

n = 18; "var" + (1:n)

How to make multiple strings arrays of repeating word and number?

n = 18; "var" + (1:n)

1 day ago | 0

| accepted

Answered

How do you graph data from a table that is in a cell array ?

TaBlE = table; TaBlE.a = rand(10); plot(TaBlE.a)

How do you graph data from a table that is in a cell array ?

TaBlE = table; TaBlE.a = rand(10); plot(TaBlE.a)

1 day ago | 0

Answered

How to merge two arrays/rearrange two table colums one by one

AB = reshape([A; B], 1, [])

How to merge two arrays/rearrange two table colums one by one

AB = reshape([A; B], 1, [])

1 day ago | 1

| accepted

Answered

Is there a function that will test if the input is char OR string OR cellstr?

Yours is good.

Is there a function that will test if the input is char OR string OR cellstr?

Yours is good.

1 day ago | 0

Answered

Month as a two digit number

ix = m < 10 % m is the output of the month(...) , by the way it can be set by Format in datetime(...) M = "" + m M(ix) = 0 + "...

Month as a two digit number

ix = m < 10 % m is the output of the month(...) , by the way it can be set by Format in datetime(...) M = "" + m M(ix) = 0 + "...

1 day ago | 0

Answered

Split a string in this way

strsplit(STRING,'_') %or regexp(STRING, '\_', 'split')

Split a string in this way

strsplit(STRING,'_') %or regexp(STRING, '\_', 'split')

1 day ago | 0

Answered

Unrecognized function or variable 'length' ???

length(Uu) = len1; % naming a variable length is a terrible idea!!! clear length

Unrecognized function or variable 'length' ???

length(Uu) = len1; % naming a variable length is a terrible idea!!! clear length

1 day ago | 1

| accepted