回答済み
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

回答

さらに読み込む