Answered
Plotting data on same axis as graph created by matlab function
%make first chart hold on %make second chart *hold on* retains the current plot and certain axes properties so tha...

15 years ago | 0

Answered
Large Ratios to decimal
<http://www.mathworks.com/help/techdoc/ref/format.html doc format>

15 years ago | 0

Answered
how to collect the numerical values of marginal areas in an array????(help immediately)
m is your array FirstRow=m(1,:); LastRow=m(end,:); FirstColumn=m(:,1); LastColumn=m(:,end);

15 years ago | 0

| accepted

Answered
How do write a function within the same main code
yes with subfunctions

15 years ago | 1

Answered
How to deploy an Application in MATLAB?
Use the deploytool

15 years ago | 0

| accepted

Answered
How do I vary color along a 2D line?
Something similar to this: plot(xpos(1:10),ypos(1:10)) %first points in blue plot(xpos(11:20),ypos(11:20),'g') %green one...

15 years ago | 1

Answered
How to increase the memory of MATLAB?
get a 64 bit machine and OS

15 years ago | 2

Answered
sptool gui question
If you have your signal in the workspace or in a file Open the sptool gui and: File -> Import

15 years ago | 0

Answered
how to plot data saved as file using "TO FILE" block in Simulink
That depends on the data, the To File block writes data as a matrix of two or more rows. The block writes one column to the MAT-...

15 years ago | 0

Answered
How to save variable data in Simulink to file.
<http://www.mathworks.com/help/toolbox/simulink/slref/tofile.html You can use the *To File* block>

15 years ago | 0

Answered
Isolate Digits in a number
So if c isn't char it could be a vector: nary='0010100101100' - '0'; %create the vector with the data provided %now you can...

15 years ago | 1

Answered
How do I read commas as decimal points when reading a text file?
after reading the file replace the decimal points by commas data=strrep(data,'.',',')

15 years ago | 2

| accepted

Answered
exporting the variable values in a text file
<http://www.mathworks.com/help/techdoc/import_export/f5-15544.html#f5-6458 Writing to Text Data Files with Low-Level I/O> The b...

15 years ago | 0

Answered
datetick with plotyy
datetick(AX(1),'x','yyyy') If that still doesn't do what you want you can clear other axis Ticks set(AX(2),'XTick',[])

15 years ago | 3

| accepted

Answered
Check if Excel File is open
FListOpen=fopen('all'); %get the names of the open files ismember('myfile',FListOpen) %see if myfile is open

15 years ago | 1

Answered
blur removing
In case you have the *Image Processing Toolbox™* working please see the documentation, you got: Image Deblurring This chap...

15 years ago | 2

Answered
matrix operation
More examples to add to Sean ones a(end)=[] %remove the last element a(a~=1 & a~3)=[] %remove all elements different from...

15 years ago | 1

Answered
How do I instantiate a java interface from matlab?
<http://www.mathworks.com/help/techdoc/matlab_external/f44062.html Using Sun Java Classes in MATLAB Software>

15 years ago | 0

Answered
gzip keeps original file
%your code goes here %and after it's done do delete('filename')

15 years ago | 0

Answered
vector not produced missing some '.' ?
t=0:0.1:1; g = (0.30./(2*(pi*t.^3).^0.5)).*exp((-0.30^2)./(4*t));

15 years ago | 0

| accepted

Answered
Using the load function with a user input?
load(strresponse)

15 years ago | 0

Answered
halftoning(ordered dithring)
f2 and r don't have the same dimensions for sure, that gt in the error stands for greater than. try this: isequal(size(f2),si...

15 years ago | 0

| accepted

Answered
array muddle problem
Laura was faster than me and her code is simple, here's my version X=[1 2 3 4 5 6]; %just modify X, the code should handle mo...

15 years ago | 0

Answered
length of audio sample
Just in case you got a wave file [y, Fs, nbits] = wavread(filename) %load the wav [m d] = wavfinfo(filename) %get the wav i...

15 years ago | 0

| accepted

Answered
observer, ss seems not to work
ss Specifies state-space models or convert LTI models to state space, there's nothing saying that it creates observers, you got ...

15 years ago | 0

| accepted

Answered
Matrix construction
First you should pre-allocate memory for the matrix MATRIX=zeros(9*11,9*71); Now in the part you insert the solution in ...

15 years ago | 1

Answered
add array to end of itself n times
doc repmat example n=2; repmat([1 2],1,n)

15 years ago | 8

| accepted

Answered
Display answer
b

15 years ago | 0

Answered
Ordering datasets in a single plot
d1=plot(data1(:,1),data1(:,2)) d2=plot(data2(:,1),data2(:,2)) d3=plot(data3(:,1),data3(:,2)) d4=plot(data4(:,1),data4...

15 years ago | 0

Answered
Drawing two figures from the same program
close all %close all open figures fig1=figure(1) %create one figure %draw something on figure fig2=figure(2) %create an...

15 years ago | 0

Load more