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

거의 14년 전 | 4

답변 있음
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...

대략 14년 전 | 0

답변 있음
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...

대략 14년 전 | 0

| 수락됨

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

대략 14년 전 | 0

| 수락됨

답변 있음
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...

대략 14년 전 | 0

| 수락됨

답변 있음
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...

대략 14년 전 | 0

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

대략 14년 전 | 4

| 수락됨

답변 있음
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...

대략 14년 전 | 0

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

대략 14년 전 | 12

답변 있음
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...

대략 14년 전 | 0

| 수락됨

답변 있음
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...

대략 14년 전 | 0

답변 있음
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)

대략 14년 전 | 1

| 수락됨

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

대략 14년 전 | 0

답변 있음
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(~...

대략 14년 전 | 0

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

대략 14년 전 | 1

| 수락됨

질문


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

대략 14년 전 | 답변 수: 0 | 0

0

답변

답변 있음
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...

대략 14년 전 | 0

| 수락됨

답변 있음
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...

대략 14년 전 | 0

| 수락됨

답변 있음
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...

대략 14년 전 | 0

답변 있음
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...

대략 14년 전 | 4

답변 있음
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...

대략 14년 전 | 0

답변 있음
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 ...

대략 14년 전 | 0

답변 있음
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...

대략 14년 전 | 0

답변 있음
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)...

대략 14년 전 | 0

답변 있음
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'} ...

대략 14년 전 | 13

| 수락됨

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

대략 14년 전 | 2

| 수락됨

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

대략 14년 전 | 0

| 수락됨

답변 있음
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...

대략 14년 전 | 0

답변 있음
Pause the execution of script
maybe uiwait can help. doc uiwait

대략 14년 전 | 0

질문


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

대략 14년 전 | 답변 수: 2 | 0

2

답변

더 보기