Answered
How to count the number of letter case changes in a string array
c = 'hfeHDdheD'; nnz(diff(ismember(c, 'A':'Z')))

más de 1 año ago | 1

Answered
Filter rows based on presence of string
Wanted = ismember(vector, 'male')

más de 1 año ago | 0

Answered
creating multiple values of the same x,y,z
doc repmat

más de 1 año ago | 0

Answered
How to get the time when a variabile reaches the maximum value?
doc max

más de 1 año ago | 0

| accepted

Answered
substiton of a variable in a equation
subs(equation, x, x1)

más de 1 año ago | 0

| accepted

Answered
Counting the Size of X Indices of a Matrix
Naming variables is a bad idea Dimensions = num2cell(size(rand(2,3,4))) % simply use a cell array celldisp(Dimensions)

más de 1 año ago | 0

| accepted

Answered
I'm getting a confusing error message.
Remove first two lines. Name of the file and function should be the same. help function

más de 1 año ago | 0

Answered
How do I create dummy variables with if statements?
X = R > 0

más de 1 año ago | 0

Answered
can anyone help me solve these two questions please?
help fibonacci

más de 1 año ago | 0

Answered
Given an array of co-ordinates, for each value of x, how do I extract the smallest value of y?
x = [1; 1; 1; 2; 2; 3; 3; 3]; y = [1; 2; 3; 3; 2; 1; 2; 3]; T = array2table([x, y], 'VariableNames', {'x', 'y'}); T1 = groups...

más de 1 año ago | 1

Answered
How to remove zeroes not defined by indices
Wanted = zeros(numel(nonzeros(A)) + numel(B), 1); Wanted(setdiff(1 : numel(Wanted), B)) = nonzeros(A)

más de 1 año ago | 0

| accepted

Answered
Multiplying sine wave with step function
uu = @(nn) +(nn >= 0); xxuu = xx .* uu(t)

más de 1 año ago | 1

Answered
I'm getting Not enough input arguments
Your last line should be before the function

más de 1 año ago | 0

Answered
How can I remove negative values from vector (Half-Wave Rectification)
vector = [1, -1]; vector( vector < 0 ) = 0 % [] to remove

más de 1 año ago | 0

Answered
x(t) = 2 cos(200πt + 10o )
<https://www.mathworks.com/help/signal/gs/waveform-generation-time-vectors-and-sinusoids-1.html>

más de 1 año ago | 0

Answered
Finding indices of certain values
find(all(A == 0, 2))

más de 1 año ago | 0

| accepted

Answered
Combine Text and number in a matrixs
Wanted = {'A' 'B' 'C' 'D' 2 3 4 5 ...

más de 1 año ago | 0

Answered
Find row elements of a table in another table
help ismember % 'row' option

más de 1 año ago | 1

| accepted

Answered
Replacing all values of a with b in a matrix?
What do you expect == is a logical operator, when not used in symbolic calculations if you just want to assign it, then simply u...

más de 1 año ago | 0

| accepted

Answered
You need to create a matrix using the formula
help for

más de 1 año ago | 0

Answered
как получить векторный массив выходных данных цикла for
n = 1 : 3; for k = 1 : numel(n) y(k) = 2*n(k); end

más de 1 año ago | 0

| accepted

Answered
First occurance problem in the adjacent coloumn
[~, ix1_2] = max(A == [ii, jj])

más de 1 año ago | 0

Answered
display matrix row wise using fprintf have
matrix = [1:3; 4:6]; fprintf([repmat('%d ', 1, size(matrix, 2)) '\n'], matrix(1, :))

más de 1 año ago | 0

Answered
for文で出た結果を行列に出力
k = 0 : 3; A = zeros(size(k)); for l = 1 : numel(k) A(l) = k(l); end A Without loop: A = 0 : 3

más de 1 año ago | 1

Answered
Can anybody help me?
Pprime = bsxfun(@times, P, reshape(lambda, 1, 1, [ ]) % for newer versions use .* directly

más de 1 año ago | 0

Answered
turn addition and multiplication into a code
syms x y = 0.5*0.024*(x^2+(0.06+x)^2); I suggest you to do MATLAB On-ramp course.

más de 1 año ago | 0

Answered
How can you make an input to a symbolic variable?
equation = {'x^2 + x'}; diff(str2sym(equation)) equation = {'x^2 + y'}; eq = str2sym(equation); syms(symvar(eq)) diff(str2s...

más de 1 año ago | 0

| accepted

Answered
satisfying the initial condition y(0) =0
help ode45 help dsolve

más de 1 año ago | 0

Question


Precision in writetable()
Is there a way to use writetable() to export using only 2 decimals? To be able to directly export it to an excel file.

más de 1 año ago | 1 answer | 3

1

answer

Answered
How to solve 3 functions in 4 variables
Use solve() to get the answer what you show

más de 1 año ago | 0

Load more