답변 있음
combine each entry of a cell array and a double array
A= {'A1' 'A2' 'A3'} B= {'B1' 'B2' } for ii= 1:length(A) for jj=1:length(B) out{ii,jj}=[A{1,ii} B{1,jj}]...

대략 10년 전 | 1

답변 있음
help with conversions (in/cm/ft)
If you have the Aerospace toolbox.. try convlength <http://www.mathworks.com/help/aerotbx/ug/convlength.html> ...

대략 10년 전 | 2

| 수락됨

답변 있음
trouble plotting a graph
Try t=1:0.1:10; V=1.5*t.^2; plot(t,V)

대략 10년 전 | 1

| 수락됨

답변 있음
How “size(x,3)>1” works on an image?
size(x,3) - if it is greater than 1 than it is a color RGB image. try size(x) and see - if you get two dimensions its graysca...

대략 10년 전 | 1

| 수락됨

답변 있음
How to superimpose one surface onto another?
Z=randn(11,11); Z1=randn(11,11)+2; X=[1:11]; Y=[1:11]; surf(X,Y,Z) hold on surf(X,Y,Z1) hold off Two s...

대략 10년 전 | 0

답변 있음
Negitive number from a hex value
2147483647 is Maximum integer value in matlab you can get that by typing intmax so the answer you are getting is not v...

대략 10년 전 | 2

답변 있음
How can i avoid Matlab from creating new Matlab folders everytime i start it?
It might be defined so i the matlabrc.m file by the system administrator. if you are the admin then you can change the settin...

대략 10년 전 | 0

답변 있음
how to display output of all iteration of for loop in a matrix or even a array
a=[1 2 3 4 5 6 7 8 9 0] count=1; for i=1:2:7 b(count,:)=a(1,i:i+3); count=count+1; end b

대략 10년 전 | 2

| 수락됨

답변 있음
How to find minimum and maximum values?
you can use min() & max() functions min (matrix) %returns the minimum max (matrix) %returns the maximum

대략 10년 전 | 0

답변 있음
How do you open .csv files?
Just try fname='data.csv' fd = fopen(fname); if (fd == -1) msg = sprintf('File %s not opened\n',fname); ...

대략 10년 전 | 0

| 수락됨

답변 있음
legend entries ignored after using "hold" to create plots
You could concatenate multiple legend statements for the two data sets Eg.: x = 1900:10:1990; x=x' y1 = 10:10:10...

대략 10년 전 | 1

답변 있음
Placing nested function in another .m-file.
Yes you can do that. <http://www.mathworks.com/help/matlab/matlab_prog/nested-functions.html?s_tid=doc_12b> Provides some goo...

대략 10년 전 | 0

답변 있음
Problem with symsum using infinity as the upper limit of the variable.
instead of a' try vpa(a') You might not get all the value but close..

대략 10년 전 | 0

답변 있음
Matlab function for defining the size of a matrix
B=zeros(size(A,1),2) % if you know A B=zeros(size(D)) % if you know D B=zeros(size(A,1),size(D,2)) % just to make i...

10년 초과 전 | 0

답변 있음
How do i calculate velocity of cars in a video?
Look at this paper might help- <http://www.academia.edu/1002902/Vehicle_speed_detection_in_video_image_sequences_using_CVS_metho...

10년 초과 전 | 3

| 수락됨

답변 있음
how long will my Matlab & Simulink Student version r2013a last
Look here at the student version FAQ <http://www.mathworks.com/academia/student_version/faq/> Q. For how long is my Student V...

10년 초과 전 | 0

답변 있음
How to Load STL map file in a figure
This can run on the Mupad <http://www.mathworks.com/help/symbolic/mupad_ref/plot-surfacestl.html> There is also a function ...

10년 초과 전 | 0

| 수락됨

답변 있음
always stuck at job test validate--cluster profile manager
Hmmm.. I haven't tried it on R2013b but it works well for me on R2013a and LTS 12.04 <</matlabcentral/answers/uploaded_files/...

10년 초과 전 | 0

답변 있음
How to write a code to build a D flip flop?
You could use the D flip flop in simulink directly. <http://www.mathworks.com/help/simulink/ref_extras/dflipflop.html>

10년 초과 전 | 0

답변 있음
calculate surface area between two curves
This might help: <http://www.mathworks.com/matlabcentral/answers/15653-evaluating-the-area-between-two-curves>

10년 초과 전 | 0

| 수락됨

답변 있음
Artifical Bee Colony Algorithm
You can find one here: <http://mf.erciyes.edu.tr/abc/software.htm> or an implementation here: <http://www.mathworks.com/matla...

10년 초과 전 | 0

| 수락됨

답변 있음
saveas vs. "File->Save as"
try saveas(gcf,'mypicture.fig')

10년 초과 전 | 0

답변 있음
Is it possible to have MATLAB installed on two computers?
Depends on the license. How many seeds of the license does the researcher have? For. Eg. I have multiple versions of MALTA...

10년 초과 전 | 0

답변 있음
calculating rmse between observations and estimates of different size
Your data sets (data and estimate) have different sizes. Do you have NaN's in your estimates or are you taking multiple estimate...

10년 초과 전 | 0

| 수락됨

답변 있음
Can Mathlab solve this
Yes, look in the symbolic math toolbox <http://www.mathworks.com/help/symbolic/solve.html> Go to the bottom of the page for e...

10년 초과 전 | 0

답변 있음
Skull Removal of brain using matlab
Muhammad, I use a program known as AFNI for such skull stripping. AFNI has been developed by the National Institute of Healt...

10년 초과 전 | 1

답변 있음
How can I avoid error in mnrfit line 164?
I'm assuming mnrfit does not like 'NaN' values as its input. works fine with x = 0.14 0.66 ...

거의 11년 전 | 0

답변 있음
Matlab Mac OS 10.6.8
You can try the solutions mentioned in this post. It fixed the issue for me <http://www.mathworks.com/matlabcentral/answers/...

거의 11년 전 | 1

| 수락됨

답변 있음
How can I generalize this for loop?
a=1:9 % input for ii=1:9 t(ii)=sum(a(1:ii))/sum(a); end t

거의 11년 전 | 0

답변 있음
If I call matlabpool open 4 and I have 4 cores, will I work in parallel with 4 or with 3 workers?
If you call matlabpool open local 4 - you will have 4 workers (though you will have 5 matlab instances running - 1 master ans 4 ...

거의 11년 전 | 2

| 수락됨

더 보기