Réponse apportée
Calculations on every 2nd row in a matrix in sets of 2 rows
matrix(1 : 2 : end, :) - matrix(2 : 2 : end, :) % ?

presque 6 ans il y a | 0

Réponse apportée
How to take Inverse of a 6x6 cell array in MATLAB?
Assuming by inverse you mean *transpose* : C_dry = cellfun(@transpose, C_dry, 'un', 0)

presque 6 ans il y a | 0

Réponse apportée
What is meant by double here ?? is it data type
<https://www.mathworks.com/help/matlab/ref/double.html>

presque 6 ans il y a | 0

Réponse apportée
Error creating matrix using a integer and vector in Matlab
A = x(:) .^ (0:3)

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Euler's Cosine and Sine identities
rewrite(A, 'exp')

presque 6 ans il y a | 1

| A accepté

Réponse apportée
How do i find the location by using max and find function?
doc max % second output , does what you need

presque 6 ans il y a | 0

Réponse apportée
How to plot function of matrix in MATLAB?
Works, if Z is a matrix.

presque 6 ans il y a | 1

| A accepté

Réponse apportée
How do i write it in matlab?
doc sin doc exp doc sqrt doc + doc \

presque 6 ans il y a | 0

Réponse apportée
request integer inputs to put into the function
doc floor % and co

presque 6 ans il y a | 1

Réponse apportée
How to subtract from a vector, have it return a value of zero if the answer is less than zero, and then tell me how much was subtracted?
totalsubtracted = (x(1) < 0) * (y + x(1)) + (x(1) > 0) * (- y + x(1)) % ?

presque 6 ans il y a | 0

Réponse apportée
Soustraction between all line of a matrix
bsxfun(@minus, matrix(:), matrix(:).') % for newer versions bsxfun() is not needed

presque 6 ans il y a | 0

Réponse apportée
Plotting and Vectors Length Regularization
plot(linspace(min(time), max(time), numel(Out)), Out)

presque 6 ans il y a | 0

Réponse apportée
Check for missing argument or incorrect argument data type in call to function 'tf'.
You either don’t have the Control System Toolbox or the license for it.

presque 6 ans il y a | 3

Réponse apportée
How to find out the index number of particular value from three dimensional matrices
V = cell(size(A, 3), 1); for k = 1 : size(A, 3) [R, C] = find(A(:, :, k)); V{k} = [R,...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Apply the interpreter latex just to a part of the legend title
'\\textbf{My quantity $\\alpha_b$ is \\textgreater %d}' % ?

presque 6 ans il y a | 1

Réponse apportée
Generated figures are not opening
shg

presque 6 ans il y a | 0

Réponse apportée
selecting multiple rows from a matrix
matrix([1 : 4, 10], :)

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How to create all possible outcome of a set amount of variables?
CombS = perms(1 : 3) How_many = size(CombS, 1)

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Write a vector with (for example) 10^-5 kind of numbers
10.^ (-(1:20))

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Unable To Convert Expression Into Double Array
E_f = cell(size(Na)); for k = 1:numel(Na) ef = solve(Nc*exp((Ef-Ec)/(k*T))+Na(k)./(1+4*exp((Ea-Ef)/(k*T)))==Nv*exp((Ev-...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
what wrong with the script
Remove { } And add end for each for and if.

presque 6 ans il y a | 0

| A accepté

Réponse apportée
E = m*c^2 as Symbolic Equation
<https://www.mathworks.com/help/symbolic/sympref.html#mw_b367b708-36b8-40b6-b855-3d9ac5f86824> *Note: Don’t name a variable *...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Degree symbol formatting problems
I certainly do not see that behaviour 2020a.

presque 6 ans il y a | 0

Réponse apportée
How do I check to see if the elements in a matrix are all equal?
a = num2cell(A); isequal(a{:})

presque 6 ans il y a | 0

| A accepté

Réponse apportée
how to multiply three matrices that results in a single value.
(A .* B) * C(:) % if it makes any sense?

presque 6 ans il y a | 0

Réponse apportée
Error using input function
You have a custom made function named *input()* which shadows the inbuilt function. Rename it or remove it from the path.

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Matlab filters the rows where the first column is the specified string
ix = ismember(Cells(:, 1), 'E1'); Cells(ix, :) Cells(~ix, :) % choose which one you want

presque 6 ans il y a | 0

Réponse apportée
How do i use handles with my local function?
f = @test f(1,2,3) Note: Never assign a variable named as *return* shadows inbuilt function

presque 6 ans il y a | 0

Réponse apportée
Error with array indices
w*

presque 6 ans il y a | 0

| A accepté

Réponse apportée
plot corresponding rows of 2 matrices
plot(x.', y.')

presque 6 ans il y a | 1

| A accepté

Charger plus