Answered
Solving differential equations backward in time
You may want to use bvpc4()

7 years ago | 0

| accepted

Answered
How to scale a plot to fit a plot window without white end
xlim([0 260])

7 years ago | 0

| accepted

Answered
Can't see folders on Matlab workspace?
Perhaps the working directory is not set , check if you have set the right path.

7 years ago | 0

Answered
Accesing files with different names
https://www.mathworks.com/help/matlab/import_export/process-a-sequence-of-files.html - lookup sprintf()

7 years ago | 0

| accepted

Answered
Apply Cellfun to only first column but keep second
mycell={[] 1 [] 1 'VWVPSSVMVV' 3 'RWAREVLQFA' 1 'ASLQQWVQVA' 4}; EXPECTED=m...

7 years ago | 0

Answered
Separate the positive values from the negative values
Xp=X(X>0) Xn=X(X<0) Xn=abs(Xn)

7 years ago | 0

| accepted

Answered
How to draw 3d Line plot
plot3(time1,7*ones(size(time1)),zeros(ones(size(time1))))

7 years ago | 0

| accepted

Answered
Matlab Error: The last entry in tspan must be different from the first entry.
Make sure to and tf are unique. If it doesn‘t work post the missing datas and function.

7 years ago | 0

Answered
a loop problem in matlab
Without loop: p=1:0.01:2; plot3(p,p.^2,p.^3); % no loops needed grid on With loop: p=1:0.01:2; h = animatedline; grid o...

7 years ago | 0

| accepted

Answered
How much later when MATLAB says "try again later"?
Wait for few minutes , if the error persists better contact mathworks support team by pressing the Contact Us button on the top ...

7 years ago | 0

| accepted

Answered
How can I get answers in an array? I am getting answers separately.
With loop: t=linspace(-5,30,300); Q=zeros(size(t)); % preallocate for i = 1:numel(t) if t(i)>=9 Q(i)=15*sqrt(4*...

7 years ago | 0

| accepted

Answered
Extraction of 45x16 matrices from a 1x309 cell
Result=cell(1,309); % preallocate %% 309 denotes number of mycells (cells you have in your data) which is numel(mycells) for i ...

7 years ago | 0

| accepted

Answered
How To Display Different Text Than The Value In Same Cell?
help sprintf

7 years ago | 0

Answered
Turning numbers from string into doubles / into table with doubles
a=" '21', '22','34','36' "; b=strsplit(strrep(a,'''',''),','); Result=str2double(b) Gives: Result = 21 22 34 ...

7 years ago | 0

Answered
How to read .txt files named as number?
https://www.mathworks.com/help/matlab/import_export/process-a-sequence-of-files.html - sprintf() does the job.

7 years ago | 0

Answered
How to extract year and month from attached string.
load('date.mat'); a=date{:,:}; b=regexp(a,'\T','split'); b=[b{:}]; B=datetime(b(1:2:end).','InputFormat','yyyy-MM-dd'); [ye...

7 years ago | 0

| accepted

Answered
how to write programme and plot velocity law for two different zone in one?
Use logical indexing to define the curves.

7 years ago | 0

Answered
whats wrong in the following?
See https://www.mathworks.com/matlabcentral/answers/49367-i-want-to-write-wav-to-a-file-useing-wavwrite-function#answer_60311 T...

7 years ago | 0

Answered
Determining units for a variable
Yes it's https://www.mathworks.com/help/symbolic/symunit.html symunit.

7 years ago | 0

Answered
How to create matrix exponential
Click on the blank model , double click and type matrix exponential on the search bar. Also consider spending time in Simulink ...

7 years ago | 0

| accepted

Answered
Converting Logical Indices into Real Values
doc format

7 years ago | 1

| accepted

Answered
How to split plots?
t=t(M:Nx-M+1); f=fpr/(2*M)*(-M:M-1); subplot(2,1,1) mesh(t,f,X); view(-40,70); axis tight; ...

7 years ago | 0

Answered
Create a character cell in ascending order
With loop: for i =1:1000 {sprintf('variable%d',i)} % if you remove { } it's string array end Without loop: compose('va...

7 years ago | 0

| accepted

Answered
Extract multiple data points from matrix
Don't think of naming variables dynamically ( https://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-shou...

7 years ago | 0

Answered
summing vector of symbolic with symsum
Just remove your last two lines and replace with sum(w)

7 years ago | 0

| accepted

Answered
How to extract specific row by using filter, F.e I need take first row which <19.78 and last row also which <19.78 See 2 column
a(abs(a-17.8)<1e-4) % use logical indexing with specific tolerance , search floating-point as a tag in this forum for more expla...

7 years ago | 1

| accepted

Answered
Matlab online is not loading
If the problem persists , it is better to contact mathworks support team by clicking the Contact Us button on the top right corn...

7 years ago | 0

Answered
How to plot a function of two variables in MATLAB?
help ezplot help ezsurf

7 years ago | 2

Load more