Answered
How to stop a script from executing
Ctrl-c (control + c keys)

14 years ago | 2

| accepted

Answered
Solving Over-determined Non-linear equations.
doc mldivide

14 years ago | 0

Answered
Open files with for loop with character as title
something like this? fileInfo = dir('*.csv'); % csv files in directory numFile = length(fileInfo); rawData =...

14 years ago | 0

Answered
Overlaying a small matrix to a large matrix, contour ploting, enlarging matrix
maybe I don't understand, but is this what you are after x = linspace(0,985,32); [X,Y] = meshgrid(x,x); Z = X.*Y+Y; ...

14 years ago | 0

| accepted

Answered
clear an area in binary image
img=rand(1000)<.5; % some data img(451:550,451:550); % center 100x100

15 years ago | 0

Answered
Creating a point mesh with an arbitrarily shaped hole
doc inpolygon

15 years ago | 1

| accepted

Answered
Functions - How to use?
Read the getting started documentation. Also, Doug's <http://blogs.mathworks.com/videos/2011/06/20/managing-code-in-matlab-funct...

15 years ago | 0

Answered
Variable assignment in command window
use a semicolon to suppress output a=12;

15 years ago | 2

Answered
plot a function in 3D
a= rand(10,1)*2-1 b=rand(10,1)*2-1 c=a./(a+b) scatter3(a,b,c)

15 years ago | 0

Answered
Regarding Data interpolation
Maybe getting the right data would help, your match variable contains some constraints I don't believe you intended. compare to...

15 years ago | 0

Answered
simulataneous Curve fitting follow up
y(:,1)=a*log(x+d); y(:,2)=b*log(x+2*d); y(:,3)=c*log(x+3*d); plot(x,y)

15 years ago | 0

Answered
IF statements, and its outputs.
Percentages=rand(10,1)*100; gpa = cell(1,length(Percentages)); for a = 1:length(Percentages) if Percentag...

15 years ago | 1

Answered
Importing Excel Data with Custom Data Format [hh]:mm:ss.00
dt = xlsread('testdate.xls'); %sample ->978378:58:10.340 mdates = datenum('30-Dec-1899')+dt; datestr(mdates,'dd-mm...

15 years ago | 0

Answered
Compare Raw Data to Actual Circle
I hope this will help clc;clear;close x=3.5*cos(linspace(0,2*pi))+rand(1,100); y=3.5*sin(linspace(0,2*pi))+rand(1,1...

15 years ago | 0

| accepted

Answered
colormap on a line???
no you can't, but <http://www.mathworks.com/matlabcentral/answers/6383-plot-colors-using-colormap this answer> might help

15 years ago | 0

| accepted

Answered
Draw on plot using cursor
you could try [x,y] = ginput(2); line(x,y)

15 years ago | 0

Answered
more for loop help
for k = 11:3:20 %do stuff end

15 years ago | 0

Answered
Replacing values inside ODE code
perhaps you can use anonymous functions as explained here: http://www.mathworks.com/matlabcentral/answers/1971-when-using-ode...

15 years ago | 0

Answered
finding power 2 of an object
y = nextpow2(x) %?

15 years ago | 0

Answered
Regarding a fft of a signal taken from an accelerometer
are they off by a factor of 2? When you discard the negative frequencies, you need to multiply the remaining by 2 (except dc), ...

15 years ago | 0

Answered
How do I display proportions of 3 materials per cell in a 10x10 grid?
how about turning your components into a colormap triple and displaying the image? *[edit]* x= 100* rand(10); y = rand(100,3...

15 years ago | 0

Answered
2nd degree fit with x^2 unknown
If r & t are known, you can solve for x - no curve fitting required clc;clear t = [93.3168 0 91.1868 0 93.0526 91.9160 88....

15 years ago | 0

Answered
Merging 2 tables with partially common column values
Perhaps this will give you an idea http://www.mathworks.com/matlabcentral/answers/2696-align-two-arrays-by-time-column

15 years ago | 0

Answered
suggestions on generating periodic decaying exponential signal
is this close to what you want? clear;clc t = -5:.1:100; plot(t,fliplr(sawtooth(t)).*exp(-t./20))

15 years ago | 0

| accepted

Answered
Finding the mean in a Cumulative Distribution Function
Here is a not very robust algorithm, but might give you some ideas. Basically it finds where the CDF crosses the 63.2% (mean va...

15 years ago | 0

Answered
Colormap range of mesh (sub)plots distorts/shifts when pasting figure into Powerpoint.
maybe cut & paste is embedding a matlab figure in your presentation. try export_fig from the file exchange http://www.mathworks...

15 years ago | 0

| accepted

Answered
Simple Matrix Looping Problem
you can transpose B and then loop through and fill in values then transpose back B = zeros(2,10) for k = 1:20 %update val...

15 years ago | 1

| accepted

Answered
Animation troubles
how about waterfall() %?

15 years ago | 0

Answered
Matlab Motion Estimation Code
it creates a string based upon the image name & number. It pads the number with zeros to get a string with a consistent number ...

15 years ago | 0

Answered
Analysis of graphs in matlab..how to find peaks of pyulear graph?
You need to get 2 outputs from pyulear to reproduce the graph as in: [a,f] = pyulear(...); semilogy(a,f) calling pyul...

15 years ago | 0

Load more