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

ungefär 12 år ago | 4

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

ungefär 12 år ago | 0

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

ungefär 12 år ago | 0

| accepted

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

ungefär 12 år ago | 0

| accepted

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

ungefär 12 år ago | 0

| accepted

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

ungefär 12 år ago | 0

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

ungefär 12 år ago | 4

| accepted

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

ungefär 12 år ago | 0

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

ungefär 12 år ago | 12

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

ungefär 12 år ago | 0

| accepted

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

ungefär 12 år ago | 0

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

ungefär 12 år ago | 1

| accepted

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

ungefär 12 år ago | 0

Answered
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(~...

ungefär 12 år ago | 0

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

ungefär 12 år ago | 1

| accepted

Question


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

ungefär 12 år ago | 0 answers | 0

0

answers

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

ungefär 12 år ago | 0

| accepted

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

ungefär 12 år ago | 0

| accepted

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

ungefär 12 år ago | 0

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

ungefär 12 år ago | 4

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

ungefär 12 år ago | 0

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

ungefär 12 år ago | 0

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

ungefär 12 år ago | 0

Answered
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)...

ungefär 12 år ago | 0

Answered
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'} ...

ungefär 12 år ago | 12

| accepted

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

ungefär 12 år ago | 2

| accepted

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

ungefär 12 år ago | 0

| accepted

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

ungefär 12 år ago | 0

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

ungefär 12 år ago | 0

Question


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

ungefär 12 år ago | 2 answers | 0

2

answers

Load more