Beantwortet
How to create a loop calcualtion?
Probably something like this.. num_values=10; % total values first_val=2; output=zeros(1,num_values); %preal...

mehr als 13 Jahre vor | 4

Beantwortet
How to learn neural networks ?
here is a complete course online: <http://www.willamette.edu/~gorr/classes/cs449/intro.html> Then there are books like: In...

mehr als 13 Jahre vor | 0

Beantwortet
How do I get Matlab to stop formating my numbers?
You can set the default format through the GUI on Windows: File > Preferences > Command Window > Numeric format On MAC: M...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
putting the data inside the correct x values in hist plot
y=[3,5]; x=1:6; hist(y+0.5,x+0.5)

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Find a Maximum in a Matrix
There probably is a more elegant solution but this should work a=rand(40,10); %some random 40x10 data for i=1:length(a...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
How to run automatically an .m code everyday in a specified time
Since you are on a mac you need to setup a cron job to run daily. <http://hints.macworld.com/article.php?story=20010207001637...

mehr als 13 Jahre vor | 0

Beantwortet
Figure Visibility and Save
a=1:4; f = figure('visible','off'); plot(a) saveas(f,'newout','fig') Now to reopen the figure % to ...

mehr als 13 Jahre vor | 4

| akzeptiert

Beantwortet
I'm using MATLAB 2008, and I have looked at some tutorials online about a Butterworth filter. Does MATLAB 2008 have this function?
The Butterworth IIR filter design using specification object function 'butter' is not part of MATLAB core but the Signal proces...

mehr als 13 Jahre vor | 0

Beantwortet
Create Figure Without Displaying it
Something like this? a=1:4; f = figure('visible','off'); plot(a) saveas(f,'newout','fig') Now to reopen...

mehr als 13 Jahre vor | 12

Beantwortet
To call a function results in an error (fzero)
You need to define elev and h in the function you are calling initally. you 'h' value comes from the funw function which will...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Reading multiple images from a folder in MATLAB Directory
Your error states that Error using imread (line 372) File "polymerc.jpg" does not exist. Even though the image *'polym...

mehr als 13 Jahre vor | 0

Beantwortet
my loop dint work as i want
for ii=1:3 for jj=1:3 a(ii,jj)=randi(10); end end x=reshape(a',1,[]) or x=randi(10,1,9)

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
Merging multiple subplots into a mosaic
Something like this: just change the plot command with what you wan to plot.. % Create subplot subplot1 = subplot(...

mehr als 13 Jahre vor | 0

Beantwortet
erasing all the rows that begin with NaN
If A is your input cell matrix out=cellfun(@isnan,A(:,1),'UniformOutput',false) count=cellfun(@(x)any(x==1),out); A(~...

mehr als 13 Jahre vor | 0

Beantwortet
drow a image only by a matrix
Maybe imshow will help eg: c=rand(300,400); % generate random matrix data imshow(c)

mehr als 13 Jahre vor | 1

| akzeptiert

Frage


MATLAB consuming Memory on MAC
The latest R2012a consumes Real memory on the MAC even if it is not doing anything and just left open. Right now my MATLAB is u...

mehr als 13 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
matlab file for ubuntu as excutable program
MATLAB Compiler™ lets you share your MATLAB® application as an executable or a shared library. Executables and libraries created...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
more efficient way of coding a series of string variables which contain a fix subset of strings
IS this what you need? kk={'di' 'rt' 'ew' }; name={'Aust' 'Bel' 'Est' 'Fr'}; for ii=1:length(name) l=strca...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
element by element sum with two arrays
Is this how you want it.. A1=[1:4]; B1=[5:8]; a=2; b=2; c=(A1-a.*(B1-b)).^2 % just to show the element wi...

mehr als 13 Jahre vor | 0

Beantwortet
How to save one of the variable in workspace in .mat format?
a=rand(50,110); % create random data save('output.mat','a') % save variable in the output.mat file check to s...

mehr als 13 Jahre vor | 4

Beantwortet
String starting with ' and ending with '
Here is my function file function [A,B]=readfunction(file) file_name=file % donot need this just to show it goe...

mehr als 13 Jahre vor | 0

Beantwortet
for loop doesn't seem to loop
use ii instead of i since i is built into matlab for complex numbers for ii=1:8760 ii % to show which loop you are in ...

mehr als 13 Jahre vor | 0

Beantwortet
problem in image compression
Please refer the following thread on how to ask a question and get a fast answer <http://www.mathworks.com/matlabcentral/answe...

mehr als 13 Jahre vor | 0

Beantwortet
Adding elements of 3D matrices
a(:,:,1)=[1 2 3;4 5 6;7 8 9]; a(:,:,2)=[1 2 3;4 5 6;7 8 9]; a(:,:,3)=[1 2 3;4 5 6;7 8 9]; b=a(:,:,1)+a(:,:,2)...

mehr als 13 Jahre vor | 0

Beantwortet
Replacing a row with another one
is this what you want a={'1' '2' '3';'4' '5' '6';'7' '8' '9'; 'a' 'b' 'c'; 'd' 'e' 'f'; 'g' 'h' 'i'} new={'1' '2' '3'} ...

mehr als 13 Jahre vor | 13

| akzeptiert

Beantwortet
Break in the axis
Couple of file exchange contributions Breakaxis <http://www.mathworks.com/matlabcentral/fileexchange/3668-breakaxis> ...

mehr als 13 Jahre vor | 2

| akzeptiert

Beantwortet
Quick NAN Question HELP!
use isnan A = [1 2 3 1 nan]; ~(isnan(A)) ans = 1 1 1 1 0

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
subplot within a subplot
time = 1:168; RawData = cos((2*pi)/12*time)+randn(size(time)); Data = cell(1,5); for i = 1:3; Data1{i} = RawDa...

mehr als 13 Jahre vor | 0

Beantwortet
Pause the execution of script
maybe uiwait can help. doc uiwait

mehr als 13 Jahre vor | 0

Frage


Error libXft.2.dylib on MAC
when I try to run an X based program out of MATLAB on the MAC I ge thte following error. ! ~/Desktop/afniIntel_64/3dmaskave...

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Mehr laden