Answered
How to use the current windows for the new plot?
Remove the line figure

7 years ago | 0

Answered
How can I make multiple cell array sizes the same
A=max(cellfun(@length,time)); Result=cellfun(@(x) [x;zeros(A-numel(x),1)] ,time ,'un',0)

7 years ago | 1

| accepted

Answered
Question about Notation for Creating Matrices
https://www.mathworks.com/company/newsletters/articles/matrix-indexing-in-matlab.html https://www.mathworks.com/help/matlab/ma...

7 years ago | 0

| accepted

Answered
How to extract a matrix from a series matrix in matlab?
Store it as a cell array: F_K={F_1 F_2 F_3 F_4}; % ^---------------^---- note the brackets F_K{2}

7 years ago | 0

| accepted

Answered
Issues with xlsread (of a csv file) importing an empty dataset
Use readtable() to read the file: data = readtable('Vix_SP500.csv'); % ^^^^^^^^^^^^^---- this is your filenam...

7 years ago | 0

Answered
Compare class type of two variables?
if ~isa(h,'cell') % you don’t need the line stuff

7 years ago | 0

| accepted

Answered
Use if / else inside a for-loop and change values of array depending on condition
If you insist loop then: Size_1 = 5; Size_2 = 6; A = ones(Size_1,Size_2); for i=1:Size_2 if rem(i,2)==0 ...

7 years ago | 0

Answered
Use if / else inside a for-loop and change values of array depending on condition
No loops needed: size1=5; size2=6; A=ones(size1,size2); A(:,2:2:end)=-A(:,2:2:end)

7 years ago | 0

| accepted

Answered
i am facing a problem to solve an integration and i founding answer as explicit integrals cannot be found.
As symbolic integral cannot be evaluated convert the expression using matlabFunction() and use integral() given that the limits ...

7 years ago | 0

Answered
Error using symbolic operation
You may have saved factor as variable try the below commands and try again. clear all clear factor clear global

7 years ago | 0

Answered
How to create a list?
Store it as a cell array: >> A={[1;3;6], [2;4], [3]} A = 1×3 cell array {3×1 double} {2×1 double} {[3]} ...

7 years ago | 3

Answered
How to obtain the result of an operation in a vector
sum(exp(-100:100))

7 years ago | 0

Answered
Matrix manipulation via for loop
Result(k)=... (k)- k denotes loop iterator , saves result in each iteration forming a vector in the end

7 years ago | 0

Answered
What is missing from MATLAB?
It would be nice and make life a lot easier if bsxfun() has mtimes functionality or if 3D matrices can be matrix multiplied with...

7 years ago | 1

Answered
Matrix Dimensions must agree
T has 100 elements whereas Tc has only 3 (reason for the error) , both should have same number of elements T./Tc % here Matlab...

7 years ago | 0

| accepted

Answered
2 matrix with diffrent size how to minus it
Below (an example - can be vice versa) implies according to which you want to subtract: matrix2 - matrix1 % subtracts each row ...

7 years ago | 0

Answered
MATLAB Answersにおける自動翻訳
Comment posted as answer: At the bottom of this page there is an option to select the country just change it United States or U...

7 years ago | 0

| accepted

Answered
To find Maximum value and minimum value for each group of four rows for a 1576*1024 matrix
Without loop : [r,c]=size(H1); AA=reshape(H1',c,4,[]); R=permute(AA,[2 1 3]); H1min=squeeze(min(R,[],[1 2])); H1max=squeez...

7 years ago | 4

Answered
How can I do matrix indexing
C(any(f(:)==max(f),2)).'

7 years ago | 0

Answered
To change 12x12 matrix to 6X12
Answer = reshape(r(1:2:end)+r(2:2:end),[],size(r,2))

7 years ago | 0

| accepted

Answered
How to obtain ORIGINAL columnar indexes of top 3% values.
https://www.mathworks.com/help/matlab/ref/sort.html#bt8nojg-1-I - see the second output of sort()

7 years ago | 0

Answered
trying to average two sets of matrices
reshape(a,120,60,10) %where a is the variable consisting of 72000 elements

7 years ago | 1

Answered
Not create a variable on the Workspace
function [S,m,d2]=.... callthe function with three output arguments so they appear in workspace

7 years ago | 0

| accepted

Answered
Containg the especific number in the vector
No loops needed: numbers_greater_than_one_or_equal = nnz(b>=1) numbers_lesser_than_one = nnz(b<1)

7 years ago | 0

| accepted

Answered
how to input a derivative in Matlab
https://www.mathworks.com/help/symbolic/dsolve.html

7 years ago | 0

Answered
プラットフォームの推奨スペック
https://www.mathworks.com/support/requirements/matlab-system-requirements.html

7 years ago | 3

| accepted

Answered
How to extract data to a certain number?
x(x<=2)

7 years ago | 0

| accepted

Answered
how to avoid the decimal values in fprintf
Use %d instead of %5.4f

7 years ago | 0

| accepted

Load more