Answered
How can i create array of 1:2^1000 column size?
It seems to be more than the limit a=1:2^1000; A=a.' % to force an array into a column vector %or A=a(:)

7 years ago | 0

Answered
Too many solutions using solve function
Use vpasolve() [x y] = vpasolve(EQ1,EQ2,[x y]) Gives: x = 16.209551693222247107423390740782 y = 7.399982640857977...

7 years ago | 0

| accepted

Answered
How to apply OR function on all rows of a matrix
help any help all

7 years ago | 0

| accepted

Answered
How to transform matlab output to a 'matlab code' form?
help diary doc diary

7 years ago | 0

Answered
How to solve the complex integration?
help vpaintegral help int help integral

7 years ago | 0

Answered
Problem with dbstop if error in 2018b
When it occurs type dbquit % help dbquit to know more

7 years ago | 0

Answered
How to plot both functions in one plot?
syms x y fplot(sin(x/2)) hold on fplot(2*cos(y)) help fplot

7 years ago | 0

Answered
Do I have a student version of Matlab or not?
ver % statistics and machine learning toolbox should be visible license('test','statistics_toolbox') % should return one for v...

7 years ago | 0

Answered
How to generate array (x:2)
Perhaps ? v = 1 : 24; [x,y]=ndgrid(v); Result=[x(:) y(:)]; Result=Result(randperm(272),:)

7 years ago | 0

| accepted

Answered
Numeircal integral with external function and external parameter
EDITED Parameterize function N = 5; F = fn(x,N); % function call I = integral(F,0,Inf,'RelTol',1e-8,'AbsTol',1e-13) fun...

7 years ago | 3

| accepted

Answered
Is there any way to normalize any matrix values to be between (-1) and (1)?
a=-1; b=1; N=100; % number of points A=(b-a).*rand(N,1)+a; % creates numbers inbetween -1 and 1 https://www.mathworks.com/ma...

7 years ago | 0

Answered
How can I find the header of a matric?
Ue readtable() to read the file.

7 years ago | 0

Answered
how can i split matrix into two part?
Don’t think of naming variables dynamically ( https://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-shou...

7 years ago | 0

Answered
Check for same image names
help strcmp

7 years ago | 1

| accepted

Answered
Missing 2000 years on date from csv file.
Perhaps? T=readtable('Treasury.csv'); a=strrep(string(T.Date),'0018','2018'); T.Date=a

7 years ago | 1

| accepted

Answered
How to interpolate between two sets of data
interp1()

7 years ago | 0

Answered
Write a function that concatenated string as output?
a='hello'; b='world'; output = concantecater(a,b) % function call function output = concantecater(input1,input2) % function...

7 years ago | 1

| accepted

Answered
How can i extrapolate the first 15 values of this vector ?
No loops needed lookinto interp1() with "extrapolate" method: x=1:50; v=exp(x/85).*sin(x/9);

7 years ago | 0

| accepted

Answered
Arduino Due error in Matlab
Make sure the proper board (Arduino Uno or mini for example) and the port are selected.

7 years ago | 1

Answered
How to generate a 3D plot (e.g. pipe, cylinder) from 2D plot (e.g. plate) ?
https://www.mathworks.com/help/matlab/ref/cylinder.html

7 years ago | 0

Answered
How to calculate mean of amplitudes from many time vs amplitude ascii text files
https://www.mathworks.com/help/matlab/import_export/process-a-sequence-of-files.html

7 years ago | 0

Answered
I need to draw two bar plot with yy. The problem is one bar plot covers the other one and I want it to be transparent.
https://www.mathworks.com/help/matlab/ref/alpha.html

7 years ago | 0

| accepted

Answered
Create a function of n variables
.^ instead of ^ % lookup element wise operation

7 years ago | 1

| accepted

Answered
How to read multiple CSVs files
https://www.mathworks.com/help/matlab/import_export/process-a-sequence-of-files.html - sprintf() does the trick.

7 years ago | 0

Answered
Converting Cell Array into Array
C=cell(1,4); % Preallocate before loop C{i}... % ^-—- is enough vertcat(C{:}) %outside loop% or [C{:}]

7 years ago | 1

| accepted

Answered
Apply Cellfun to only first column but keep second
Anytime :) , if you got the answer to your orignal question about removing empty row make sure to accept the answer. Note: You ...

7 years ago | 0

| accepted

Answered
load and do operations on multiple file in a loop
Lookup cell2mat() , horzcat() , vertcat() and cellfun() to work with cells.

7 years ago | 0

Answered
How to rewrite a Value multiple times in another matrix, several times
A = [1;2;3]; % no loops needed at all B=repelem(A,3) Gives: B = 1 1 1 2 2 2 3 ...

7 years ago | 0

| accepted

Load more