Réponse apportée
ocr for reading text
<http://www.mathworks.com/matlabcentral/fileexchange/?term=tag%3A%22ocr%22>

plus de 13 ans il y a | 0

Réponse apportée
How can i run this matlab code?
Have you read README and help file? Perhaps it says everything you need.

plus de 13 ans il y a | 1

Réponse apportée
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'...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
regarding save in matlab
Use save with optional arguments: save('your_file', 'first_variable', 'second_variable', ... ) see also doc: <http://...

plus de 13 ans il y a | 0

Réponse apportée
make image
<http://www.mathworks.com/help/techdoc/ref/image.html> <http://www.mathworks.com/help/techdoc/ref/imagesc.html>

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 3

| A accepté

Réponse apportée
running R within matlab
There is a *Rscript* command, so you can run it in this way: !Rscript your_script.r

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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); ...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
.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...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
Plotting figures with Multiple Axes
Do you have this function <http://www.mathworks.com/matlabcentral/fileexchange/9016> in your search path? <http://www.m...

plus de 13 ans il y a | 0

Réponse apportée
solving quadratic equation
If you have one equation just solve it with _roots_ function and choose solution which satisfied your inequality.

plus de 13 ans il y a | 0

Réponse apportée
plot Bethe-Bloch equation
Use *.** (the element-by-element product) operator for array multiplication.

plus de 13 ans il y a | 0

Réponse apportée
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.

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 1

Réponse apportée
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')

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Plot sine wave whose frequency changes with time
t = linspace(0,2,2000); plot(t,sin(2*pi*(50+sin(10*pi*t)).*t))

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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))

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
Particle Swarm Optimization in matlab
Try to solve your task with this toolbox: <http://www.mathworks.com/matlabcentral/fileexchange/7506>

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
Pattern search
The example in documentation shows how to use objective function with constrains: <http://www.mathworks.com/help/toolbox/gads...

plus de 13 ans il y a | 0

Réponse apportée
Read/Write audio files in Matlab
I propose to use any MP3 to WAV converter, and then wavread & wavwrite functions.

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

presque 14 ans il y a | 0

Réponse apportée
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 ...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 14 ans il y a | 1

| A accepté

Charger plus