已回答
ocr for reading text
<http://www.mathworks.com/matlabcentral/fileexchange/?term=tag%3A%22ocr%22>

12 years 前 | 0

已回答
How can i run this matlab code?
Have you read README and help file? Perhaps it says everything you need.

12 years 前 | 1

已回答
Binary string to character conversion
S = '001000110111'; a = '0'; b = '10'; c = '110'; d = '111'; S = strrep(S,d,'d'); S = strrep(S,c,'c'...

12 years 前 | 0

| 已接受

已回答
regarding save in matlab
Use save with optional arguments: save('your_file', 'first_variable', 'second_variable', ... ) see also doc: <http://...

12 years 前 | 0

已回答
make image
<http://www.mathworks.com/help/techdoc/ref/image.html> <http://www.mathworks.com/help/techdoc/ref/imagesc.html>

12 years 前 | 0

| 已接受

已回答
How to adjust the Grid size
Analyze this code: plot(1:10000) grid on pause set(gca,'XMinorTick','on') grid minor pause set(gca,'Xtick...

12 years 前 | 1

| 已接受

已回答
running R within matlab
There is a *Rscript* command, so you can run it in this way: !Rscript your_script.r

12 years 前 | 1

| 已接受

已回答
Display negative values on logarithmic graph
Plot the logarithm of the absolute value of *y* multiplied by sign of *y*, and the change labels: x = linspace(0,3,10000); ...

12 years 前 | 0

| 已接受

已回答
.txt to .wav file conversion
First load data from file using e.g. importdata: <http://www.mathworks.com/help/techdoc/ref/importdata.html> And then save...

12 years 前 | 1

| 已接受

已回答
Matlab GUI from m file only
Yes it is possible, for example watch this video: <http://blogs.mathworks.com/pick/2007/12/28/matlab-basics-guis-without-guid...

12 years 前 | 0

已回答
Plotting figures with Multiple Axes
Do you have this function <http://www.mathworks.com/matlabcentral/fileexchange/9016> in your search path? <http://www.m...

12 years 前 | 0

已回答
solving quadratic equation
If you have one equation just solve it with _roots_ function and choose solution which satisfied your inequality.

12 years 前 | 0

已回答
plot Bethe-Bloch equation
Use *.** (the element-by-element product) operator for array multiplication.

12 years 前 | 0

已回答
why why why why why ..........................................
It means, that program is still running. Run it in debug mode, and you will see step by step how it works.

12 years 前 | 0

已回答
failed to determine the appropriate size in find
What should be the y? Maybe replace: if (isempty(k1)) k1 = 0; end with: if (isempty(k1)) k1 = 1...

12 years 前 | 0

已回答
To pick random data
a=[1 2 -8 9 0 5]; b=[6 7 1 5 8]; imax = 10; if any(ismember(a,b)) a = randi(imax,size(a)); b = rand...

12 years 前 | 1

已回答
Problem with ODE solver
[T,Y] = ode113(@(x,y)4*x,[-4 4],32); fplot('2*x.^2',[-4 4]) hold on plot (T,Y,'ro')

12 years 前 | 0

| 已接受

已回答
Plot sine wave whose frequency changes with time
t = linspace(0,2,2000); plot(t,sin(2*pi*(50+sin(10*pi*t)).*t))

12 years 前 | 0

已回答
subplot hoe to add a tile?
Try this code: for i = 1:4 subplot(2, 2, i) plot(rand(1, 10)); end axes('Units','Normal','Position',[.0...

12 years 前 | 0

| 已接受

已回答
how to sort the elements of an array within a given range?
a=[2 5 1 3 4]; a(2:4) = sort(a(2:4))

12 years 前 | 0

| 已接受

已回答
using find function
If I understand you correctly, try to round your vector roughly this way: round(p*100)/100 or use find something like th...

12 years 前 | 0

已回答
Particle Swarm Optimization in matlab
Try to solve your task with this toolbox: <http://www.mathworks.com/matlabcentral/fileexchange/7506>

12 years 前 | 0

已回答
Error when evoking patternsearch
Try to debug your program with the command: dbstop if error It looks to me, that you have overwrote some matlab functi...

12 years 前 | 0

已回答
Pattern search
The example in documentation shows how to use objective function with constrains: <http://www.mathworks.com/help/toolbox/gads...

12 years 前 | 0

已回答
Read/Write audio files in Matlab
I propose to use any MP3 to WAV converter, and then wavread & wavwrite functions.

12 years 前 | 0

已回答
Making graphs from data given
<http://www.mathworks.com/help/techdoc/data_analysis/f0-15185.html> <http://web.cecs.pdx.edu/~gerry/MATLAB/plotting/loadingPl...

12 years 前 | 0

已回答
Plotyy x-axis overwritting with two plotyy graphs and legend issues
Using these commands together is a little complicated. My proposition to solve this problem is as follows (I removed the unneces...

12 years 前 | 0

已回答
what's wrong with 'smooth' and 'find' commands in this code?
Look at result of this line: y- round(y*10)/10 In vector y there is no exact 0.6 value. Try this code: x = [0 0 ...

12 years 前 | 0

| 已接受

已回答
How to add images on a pusbutton
You can set images in this way: function test1 i1 = imread('http://img818.imageshack.us/img818/7208/03close.png'); i2...

12 years 前 | 1

| 已接受

已回答
Plotting on Secondary y-axis and scaling
Let's try it this way: clear clf A1 = 0.1:0.1:1; B1 = 100000./(A1); E1 = nan(size(A1)); for i=1:length(A...

12 years 前 | 1

| 已接受

加载更多