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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 1

Respondida
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'...

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

| aceptada

Respondida
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...

alrededor de 14 años hace | 3

| aceptada

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

alrededor de 14 años hace | 1

| aceptada

Respondida
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); ...

alrededor de 14 años hace | 0

| aceptada

Respondida
.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...

alrededor de 14 años hace | 1

| aceptada

Respondida
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...

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

Respondida
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.

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 1

Respondida
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')

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

| aceptada

Respondida
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))

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 0

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

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

Respondida
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...

más de 14 años hace | 0

Respondida
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 ...

más de 14 años hace | 0

| aceptada

Respondida
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...

más de 14 años hace | 1

| aceptada

Respondida
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...

más de 14 años hace | 1

| aceptada

Cargar más