Answered
Invalid indexing or function definition
syms h [1, 5] z = h + 5

6 years ago | 0

Answered
Reducing columns and rows numbers to match a certain matrix.
Find the minimum number of rows and columns and index every matrix until the minimum.

6 years ago | 1

Answered
how to sketch the domain of f(x y)= sqrt(y-x^2)/(1-x^2)
doc fimplicit

6 years ago | 1

| accepted

Answered
Row position and find value
Replace Accelval with [rows, columns] = ... and use the rows to index the table of column 3

6 years ago | 0

| accepted

Answered
Matrix Array Reshaping by fixed columns
reshape(matrix, [], 252)

6 years ago | 0

Answered
How to make two column vectors from cell vector with space delimiter?
S = regexp(C, '\s', 'split'); s = cat(1, S{:}); datE = s(:,1) HouR = s(:,2)

6 years ago | 1

| accepted

Answered
Using value stored in a matrix in a prompt.
doc sprintf

6 years ago | 0

| accepted

Answered
Not able to get count of each elements in array itself
[~, ~, c] = unique(x); v = accumarray(c, 1); Wanted = v(c)

6 years ago | 1

Answered
How to get the real&imaginary mode of the symbolic complex equation
syms A B real Function = A+1j*B rewrite(abs(Function),'sqrt')

6 years ago | 0

| accepted

Answered
Create a vector for each element in another vector to constitute a matrix
[repelem(v, numel(v)), repmat(v, numel(v), 1)] %or [V1, V2] = meshgrid(v,v) [V1(:), V2(:)]

6 years ago | 0

Answered
How to solve the following equations with a given data. I need the correct coding to solve .
The below code is the way to solve them but the answer is no way near to get what you want , you have to experiment yourself to ...

6 years ago | 0

Answered
A is a matrix , what does this statement A([1,end],[1,end]) mean ?
That's equivalent to: [A(1,1), A(1,end);... A(1,end), A(end,end)] https://www.mathworks.com/company/newsletters/articles/m...

6 years ago | 1

| accepted

Answered
Subtracting values in an array between all the elements one by one
[X, Y] = meshgrid(x,y); XY = [X(:), Y(:)]; Wanted = -diff(XY)

6 years ago | 1

| accepted

Answered
Operations depending on the row/column
f2(1:169,:) = -f2(1:169,:)

6 years ago | 0

| accepted

Answered
How to plot a line over a specific interval?
ix = (g1 >= -1) & (g1 <= -.5); % follow the same for the rest plot(x(ix), g1(ix))

6 years ago | 0

Answered
for loop with syms variable
% Newer versions syms th [1, 6] c = cos(th) %Older versions th = sym('th', [1, 6]); syms(th) c = cos(th)

6 years ago | 0

| accepted

Answered
Incrementally increase power of a matrix
n = 10; m = arrayfun(@(x) A^x, 0:n, 'un', 0) M = cat(1, m{:})

6 years ago | 1

Answered
Could anyone tell me what is wrong with the following code?
sprintf('%.32f',(6.6-5.5)/0.1) (6.6-5.5)/sym(0.1)

6 years ago | 1

| accepted

Answered
brace indexing not supported
d_A_3(9)

6 years ago | 0

Answered
How to clear a specific piece of output in a Live Script?
Make a *section break* of that lines of code.

6 years ago | 0

| accepted

Answered
매트랩 ezplot 사용시 오류
You made a file named ezplot.m please remove it from the path or rename. % Use fplot as the documentation suggests fplot(@(x...

6 years ago | 0

Answered
Is it possible to change the size of a table?
reshape(TabLe{:,:}, [], 2)

6 years ago | 0

Answered
How to create an underline in text
legend(' $\underline{Mepe}$ ','interpreter','latex')

6 years ago | 0

| accepted

Answered
Padding Zeros to an Array
n = 10; % an example b_up = reshape([b; zeros(n, size(b,2))],1,[]);

6 years ago | 0

| accepted

Answered
f(x,y)=(x^2+y^2)/x = 0
doc fimplicit

6 years ago | 0

Answered
How I can get number from a table?
https://www.mathworks.com/help/matlab/matlab_prog/access-data-in-a-table.html - to learn more qq(all(ismember(qq{:,:},2:6),2),:...

6 years ago | 1

| accepted

Answered
counting how many times a certain value is repeated in a fixed interval
According to your comment https://www.mathworks.com/matlabcentral/answers/555889-counting-how-many-times-a-certain-value-is-rep...

6 years ago | 0

Answered
For - While Loop Nested
R = 8.914; % I don't understand why you need a loop though? PCO = linspace(0, 1e2); T = linspace(1, 250); deltaG = -287500 + ...

6 years ago | 0

| accepted

Answered
Problems of convert decimal number to a string
You cannot do that.

6 years ago | 2

Answered
Skipping certain values in an array but still continuing the array
y = nonzeros(sin(1:1e2));

6 years ago | 0

| accepted

Load more