Answered
How do I add a set of points to a vector only using a while loop?
Just change values to values(count)

8 years ago | 0

Answered
Flip the Y-axis ticks without flipping the plot
yticklabels([1:10]) %an example set ( gca, 'ydir', 'reverse' )

8 years ago | 0

| accepted

Answered
Saving orientation of a plot in the script
use <https://www.mathworks.com/help/matlab/ref/view.html *view()*>

8 years ago | 1

| accepted

Answered
How to process multiple .csv files?
See <https://www.mathworks.com/help/matlab/import_export/process-a-sequence-of-files.html *Processing sequence of files*>

8 years ago | 0

Answered
how to set the amplitude of the exponential sequence to 1
maybe you are looking for *exponential decay*: N=1000; A=1; t=0:100:N; x=A*exp(-t); figure(1) plot(t,x);

8 years ago | 0

Answered
plotyy error function,Vectors must be the same lengths.
[AX,H1,H2]=plotyy(t(1:numel(z1)),z1,t(1:numel(data)),data,'bar','plot');

8 years ago | 0

Answered
Collision Problem (Square 2d)
fps = 20; dt = 1/fps; tmax = 10; t = 0; x =[20,20,1]; v = [50,25,1]; ctr=1; ...

8 years ago | 0

Answered
Sum through an array until a value is reached, then continue
mean(y(cumsum(x)<=0.1))

8 years ago | 0

Answered
Is there any way to run a Catia script in Matlab?
yes see <https://www.mathworks.com/matlabcentral/answers/15228-link-catia-to-matlab#answer_20752>

8 years ago | 0

| accepted

Answered
Trying to write conditional if loop for an interval
cellcount1 = 1.41e6; cellcount2 = 1.54e6; avgcellcount = (cellcount1 + cellcount2)./2; upplimit = (0.05.*avgcellcount...

8 years ago | 0

Answered
I have this code that I wrote but am getting the following error shown below. How do I fix this?
See <https://www.mathworks.com/help/matlab/matlab_prog/calling-functions.html> , plus num2str() is a function which is called wi...

8 years ago | 0

Answered
How to publish Simulink model ?
Use publish()

8 years ago | 0

Answered
how can i create a .txt file from vectors with different length?
a=1:10 %an example assuming datas are numeric b=1:15 dlmwrite('sample.txt',a,'delimiter') dlmwrite('sample.tx...

8 years ago | 0

Answered
Ploting Time stamps from array or matrix
Might help: <https://www.mathworks.com/matlabcentral/answers/319772-reading-csv-file-with-time-stamped-data-and-plotting-data...

8 years ago | 1

Answered
How to plot double y axis when data sets are from different files?
1)load two text files and assign the values to separate variables. 2) Use yy axis left and yy axis right to plot them.

8 years ago | 0

Answered
plotting an array with random numbers
plot(rand(10,1))

8 years ago | 0

| accepted

Answered
I need help to install matlab toolbox voicebox.
See <http://www.ee.ic.ac.uk/hp/staff/dmb/voicebox/voicebox.html> go to adds on and add speech processing toolbox

8 years ago | 0

Answered
How to add WAV file into searchpath?
Use <https://www.mathworks.com/help/matlab/ref/addpath.html *addpath()*>

8 years ago | 0

Answered
Shifting column of a matrix with maximum sum to the right?
no need of loops and no need to rearrange - JUST SWAP! >> a=rand(4) [~,X]=(max((sum(a)))) a(:,[X end])=a(:,[end...

8 years ago | 1

Answered
command for extracting data??
simple example see <https://www.mathworks.com/help/matlab/learn_matlab/array-indexing.html *indexing*> for better understanding ...

8 years ago | 0

Answered
How to get the load vs displacement curve graph? I got all the stress values before yielding point and beyond yield points except graph.
Area=645; %edited Length=3000; K=36.86; CosK=0.80; p=[0 170 200 220 240 250 260 275 300 310 350 370 380 400]; e...

8 years ago | 0

| accepted

Answered
cannot read .csv
fid=fopen('y01-01.csv','r') f = textscan(fid,'%s','delimiter',',') fclose(fid) or use <https://www.google.com/url?...

8 years ago | 0

Answered
プロパティ インスペクターが表示されません
The best option is to contact mathwork support team by clicking the <https://www.mathworks.com/company/aboutus/contact_us.html?s...

8 years ago | 0

Answered
sir i want motion detection program please answer sir
Might help: <https://www.mathworks.com/matlabcentral/fileexchange/18151-motion-detection-in-a-video>

8 years ago | 0

Answered
How to plot data using histogram?
Use <https://www.mathworks.com/help/matlab/ref/interp1.html *interp1()*> with spline method

8 years ago | 0

Answered
Plot to avoid certain regions in 2D plot
how about? plot(loc(loc~=all(poly0.Vertices) & loc~=all(poly1.Vertices)))

8 years ago | 0

Answered
Read data from complex *csv file
fid=fopen('coherence_order.csv','r') f = textscan(fid,'%s','delimiter',{']'}) fclose(fid)

8 years ago | 0

Answered
How to load CSV file with space?
What happens when you use readtable() because they are capable of reading dates by default

8 years ago | 0

| accepted

Answered
Scatter() working but not Plot()
Delete another .m file which has the same name plot.m or rename it

8 years ago | 0

| accepted

Answered
Matlab variable is loaded into the workspace and an error is reported.
Might help: <https://www.mathworks.com/matlabcentral/answers/11646-m-file-is-not-reading-variables-from-the-workspace#answer_...

8 years ago | 0

Load more