Respondida
Error using *: Inner matrix dimensions must agree.
Use .*

más de 5 años hace | 0

Respondida
Indexing Array Elements Using Row Number Stored in another Matrix
Wanted = A(sub2ind(size(A), B, (1:numel(B)).'))

más de 5 años hace | 0

| aceptada

Respondida
How to obtain array of strings contained in a cell
Wanted = cellarray{:}

más de 5 años hace | 1

Respondida
need help with conditional statement
isequal(size(A), size(B))

más de 5 años hace | 0

Respondida
Splitting a table into matrices with variing number of colums
Matrix = TablE{:, :}

más de 5 años hace | 0

Respondida
Excercises for MATLAB programmimg
Start with MATLAB On-ramp course.

más de 5 años hace | 0

Respondida
How to create a new function file using functions and variables available in base workspace?
<https://www.mathworks.com/help/matlab/math/parameterizing-functions.html *Parameterize your function*>

más de 5 años hace | 0

Respondida
Subtract constant from each element of a cell array
Or: No_Grav = cellfun(@minus, cellArray , repmat({9.8}, size(cellArray)), 'un', 0)

más de 5 años hace | 0

Respondida
Subtract constant from each element of a cell array
No_Grav = cellfun(@(x) x - 9.8, cellArray, 'un', 0)

más de 5 años hace | 3

| aceptada

Respondida
forループを用いた場合のテーブルの結合
c = cell(2, 1); % 2 represents no of tables for k = 1:numel(c) c{k} = table(rand(10, 1), 'VariableNames', {sprintf('N%d', ...

más de 5 años hace | 1

Respondida
Two vectors into matrix with an opeartion?
[a; b(:) - a]

más de 5 años hace | 0

Respondida
nested k for loops for a parameter k
<https://www.mathworks.com/help/matlab/math/parameterizing-functions.html>

más de 5 años hace | 0

Respondida
Plot a elliptic cone
axis equal

más de 5 años hace | 0

| aceptada

Respondida
How do I use cdiff function in Matlab 2020?
diff(y)

más de 5 años hace | 0

| aceptada

Respondida
Undefined variable or function fitrsvm
<https://www.mathworks.com/help/stats/fitrsvm.html#busljl4_seealso> - released in *2015b*

más de 5 años hace | 1

| aceptada

Respondida
Error using plot Invalid data argument.
Remove (none)

más de 5 años hace | 0

Respondida
Save the first non-zero value in each column
(cumsum(matrix) == 1) .* matrix

más de 5 años hace | 0

| aceptada

Respondida
how to index Vector Position
Second output of min() does that.

más de 5 años hace | 1

| aceptada

Respondida
Use top axis in a plot
https://www.mathworks.com/matlabcentral/answers/98353-how-can-i-show-both-top-and-bottom-or-left-and-right-axes-tick-labels#answ...

más de 5 años hace | 0

Respondida
index multiple columns together on different critera
_“I want to pull out a new matrix with all the rows where column 1 is <0.2 *and* column 2 is >0.2.”_ idx = A(:,1)<0.2 & A(:,...

más de 5 años hace | 0

Respondida
matrix to cell conversion
num2cell(matrix, 1).'

más de 5 años hace | 0

Respondida
how to modify all elements in a row vector
vector(:) .*(0:numel(vector(:)) - 1)

más de 5 años hace | 0

Respondida
Check for missing argument or incorrect argument data type in call to function 'ss'.
Either you don’t have the license for it or you don’t have that toolbox.

más de 5 años hace | 0

| aceptada

Respondida
multiply vector and matrix
Wanted = cell2mat(a) .* cell2mat(b); celldisp(num2cell(Wanted, 2))

más de 5 años hace | 0

Respondida
multiply vector and matrix
Wanted = cellfun(@times, a, b, 'un', 0); celldisp(Wanted)

más de 5 años hace | 0

Respondida
multiply vector and matrix
a .* b

más de 5 años hace | 0

Cargar más