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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 1

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 3

| akzeptiert

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

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 1

| akzeptiert

Mehr laden