回答済み
row elimination problem.
A(all(A == 0, 2), :) = [ ]

約2ヶ月 前 | 1

| 採用済み

回答済み
sin() - Subscript indices must either be real positive integers or logicals.
clear sin % since it's a variable

約2ヶ月 前 | 1

| 採用済み

回答済み
How do I simplify the values of a function?
>> a a = 2 >> b b = 4 >> syms x f(x) = a*b + b*x f(x) = 4*x + 8 >>

約2ヶ月 前 | 0

| 採用済み

回答済み
2 Scenario Legend Setup
plot(1:5, '-k') hold on plot(6:10, ':y') legend({'Leg 1', 'Leg2'}) %?

約2ヶ月 前 | 0

回答済み
draw a plot-graph
doc fimplicit3

約2ヶ月 前 | 1

回答済み
How to write delta in matlab?
<https://www.mathworks.com/help/symbolic/sym.dirac.html>

約2ヶ月 前 | 0

回答済み
I want to split a char array '1001' into 1 0 0 1 bits
'1001' - '0'

約2ヶ月 前 | 0

回答済み
Differential equations using ODE45
doc ode45 % have a read at the document

約2ヶ月 前 | 0

回答済み
How to get == to help solving equations
You should have the Symbolic Math Toolbox and the license for it to perform the above operation. In order to replicate your mess...

約2ヶ月 前 | 0

回答済み
How to use blkdiag in 3D matrix
A slight variation: M = cell(size(B, 3), 1); for k = 1 : size(A, 3) M{k} = blkdiag(A(:, : , k), B(:, :, k)); end M =...

約2ヶ月 前 | 0

回答済み
How do I add color to text output to the Command Window?
https://www.mathworks.com/matlabcentral/fileexchange/24093-cprintf-display-formatted-colored-text-in-the-command-wind

約2ヶ月 前 | 0

回答済み
Need help inputting my equation into MATLAB
In line f, M(t) causes the error perhaps you mean‘t M*t ?

約2ヶ月 前 | 0

回答済み
How to store value of for loop in a array
for z = linspace(0, 0.03, 31) By the way you don’t need a Loop it’s simply: A = 1 ./ (1 + ((z / aes) .^ 2))

約2ヶ月 前 | 0

回答済み
solve first-order ODE
ode = @(t, Y) sin( exp(Y - t/2) - t^2/2 ) ode45(ode, [0 2*pi], 0)

約2ヶ月 前 | 0

回答済み
Creating an array of dependent symbolic variable
A(x) = str2sym(regexprep(char(A), '(\_?\d)+', '$0(x)'))

約2ヶ月 前 | 0

| 採用済み

回答済み
splitting up numbers in a cell of a double
Wanted = vertcat(cell_array{:}) %or Wanted = cat(1, cell_array{:})

約2ヶ月 前 | 0

回答済み
How can I asign columns of a matrix to different matrixes?
permute(reshape(matrix, 154, 558, []), [2, 1, 3])

約2ヶ月 前 | 1

| 採用済み

回答済み
what's going on?
plot(A.' , '-x')

約2ヶ月 前 | 0

回答済み
テキストファイルから特定の行、列の読み込み
Use readtable()

約2ヶ月 前 | 0

| 採用済み

回答済み
substitute only first derivative in symbolic toolbox
I remember doing vibration analysis, used to be pretty tricky: expr2 = subs(expr, diff(x, 2), diff(v))

約2ヶ月 前 | 0

| 採用済み

回答済み
MATLAB Answers Wish-list #5 (and bug reports)
When someone tries to answer a homework question (when it has a tag), it could restrict the answered to post the full solution(s...

約2ヶ月 前 | 0

回答済み
Summing an array and plotting it.
doc cumsum doc plot

約2ヶ月 前 | 0

回答済み
If statement for the structure in table
FIND_rows_of_A = find(strcmp(T.alphabet, 'A')) %or FIND_rows_of_A = find(ismember(T.alphabet, 'A')) [Alphabets, ~, c] = uniqu...

約2ヶ月 前 | 0

| 採用済み

回答済み
How to enter variable names into plot title (R2019a)
title(sprintf('2D Gaussian when mean is %.2f and standard deviation is %.2f', m(ii), s(ii)))

約2ヶ月 前 | 0

| 採用済み

回答済み
Syms dependent on time vector notation
formula(du)

約2ヶ月 前 | 0

| 採用済み

回答済み
Identify a number in a string
Wanted = str2double(regexp(Ans, '(+|-)?(\d+)?\.?\d*', 'match'))

約2ヶ月 前 | 0

| 採用済み

回答済み
Find the theta1 and theta2 values that maximize the function
obj8Run = @(theta) -mean(sum((1+theta(1).*csecxit+theta(2).*csecyit)/N.*R4-c*t4,2))./sqrt(sum((1+theta(1).*csecxit+theta(2).*cse...

約2ヶ月 前 | 0

回答済み
[大至急お願い致します] for文の入れ子に関しまして
[d, c, b, a] = ndgrid(1:10); fun = @(a,b,c,d) (a + b).^c .* d; fun(a(:), b(:), c(:), d(:))

約2ヶ月 前 | 1

回答済み
Answer to the following points:
doc colon doc transpose Start with MATLAB Onramp course.

約2ヶ月 前 | 0

回答済み
Convert String to Numerical Matrix
Normally str2num() is not suggested: Wanted = sscanf(A(2:end-1), '%d').' % edited after sir Walter’s comment to exclude []

約2ヶ月 前 | 1

| 採用済み

Load more