답변 있음
type string as hidden
a useful video: <http://blogs.mathworks.com/pick/2007/10/05/masking-typed-passwords-with-asterisks/>

14년 초과 전 | 0

| 수락됨

답변 있음
Problem in calculating Principal Component Analysis
princomp performs PCA only on 2D matrices, I'm assuming your image is a 3D matrix of form n x p x m. doc princomp princo...

14년 초과 전 | 0

답변 있음
displaying image
do you have your 20 error values in final_col2? assuming you do.. final_col2=rand(20,1) % I have created random data for ...

14년 초과 전 | 0

답변 있음
Didn't recognize full workers when using 'matlabpool'?
If you have a quad core machine Try matlabpool open local 4 ( it it errors out) You might have to change the default...

14년 초과 전 | 0

답변 있음
Conditionally Format Bar Chart
Don't know if there is an easier way, this is not too bad.. This gives lines like the example image.. clear all close al...

14년 초과 전 | 0

답변 있음
Is the program: Imageprocessing Toolbox for MATLAB also available for Mac?
Yes the image processing toolbox is available on the MAC Operating System: Mac OS X Version: 10.6.8 Build: 10K549 Imag...

14년 초과 전 | 0

답변 있음
Simple reformat data question
There might be a shorter way of doing this but this is a start.. a=[1:16] b=reshape(a,4,[])' c=b(:,3) b(:,3)=[] ...

14년 초과 전 | 1

| 수락됨

답변 있음
calculate the mean of several columns
You could reshape your matrix with 7 columns becoming 1 in the new matrix and taking the mean of each column Eg.: c=rand...

14년 초과 전 | 0

답변 있음
integer variable
this might help: It is an introduction to MATLAB variables <http://web.cecs.pdx.edu/~gerry/MATLAB/variables/variables.html>

14년 초과 전 | 0

답변 있음
Filling in secondly time intervals between 15:30:00 to 22:00:00
try this clc clear all z=[]; format long p={'26/01/2012 15:29:39' 168.008200000000 '26/01/2012 15...

14년 초과 전 | 0

| 수락됨

답변 있음
Find element in matrix
A = [1 2 3 5 2 4 6 1 ]; intersect(A(:,1),A(:,2))

14년 초과 전 | 1

답변 있음
save figure in backround job
Your code should work.. If not try.. doc imsave

14년 초과 전 | 0

| 수락됨

답변 있음
Removing elements in an array
aaa(aaa~=0) or aaa(~~aaa)

14년 초과 전 | 0

| 수락됨

답변 있음
Getting minimum value from an array
try c=min(A(A~=0)) idx=find(A==c)

14년 초과 전 | 0

| 수락됨

답변 있음
Average value of a graph after steady state has been reached.
If I understand your question right you want only values for x>=8 and plot y accordingly x=(0:0.1:10); y=sin(x); ...

14년 초과 전 | 1

| 수락됨

답변 있음
genetic algorithm
Here are some links to get you started: Genetic Algorithm Examples from the Mathworks <http://www.mathworks.com/help/tool...

14년 초과 전 | 0

| 수락됨

답변 있음
Plot 3d figure (surface) with one time-dimension axis
For y axis having time in HH:MM format, first convert the time you have to datenum doc datenum Then plot the graph using...

14년 초과 전 | 1

답변 있음
distance between vectors in matlab???
This might help.. <http://www.mathworks.com/help/toolbox/nnet/ref/boxdist.html> doc boxdist The box dist should give ...

14년 초과 전 | 1

답변 있음
How to find consecutive numbers
diff(a)==1 should do the job for you. It will show you where in a you have consecutive values.. a(diff(a)==1) Giv...

14년 초과 전 | 6

| 수락됨

답변 있음
matrix extract without using for loop
try: A=[ 1 2 3 4 5 6 7; 8 9 10 11 12 13 14; 15 16 17 18 19 20 21]; start=[1 3 4]; rowSize=2; B=[A(start(1),start(...

14년 초과 전 | 0

답변 있음
plotting
Another way clc clear all l=.01; m=0:0.02:4; x=0:.00001:l; for count1=1:length(m) for count2=1:length...

14년 초과 전 | 0

답변 있음
Write a program in a script file that determines the real roots of a quadratic equation
If you are beginning, this is a good resource. It is a MATLAB tutorial and will help you solve quadratic equations with MATLAB. ...

14년 초과 전 | 0

| 수락됨

답변 있음
Can anyone help me in simulating a Wireless sensor Network with 100 nodes in it.
Do you have any paper that you are following. This work is equivalent to a Thesis or dissertation. Anyways since you asked, h...

14년 초과 전 | 2

| 수락됨

답변 있음
How do i access data from a table on a website
THis might help <http://blogs.mathworks.com/videos/2009/03/03/read-data-from-the-web-with-urlread/> doc urlread

14년 초과 전 | 0

| 수락됨

답변 있음
writing transfer functions in matlab
The documentation has good examples on how to write transfer functions: <http://www.mathworks.com/help/toolbox/control/ref/tf...

14년 초과 전 | 0

답변 있음
dec2bin is not precise with 64 bits numbers
For dec2bin to work correctly it should be nonnegative integer smaller than 2^52 It is mentioned int he documentation: <http...

14년 초과 전 | 1

답변 있음
use matrix, premutation?
Another way: c=[1,2,3,4,5]; c=perms(c); z=[]; j=[]; k=[]; for i=1:length(c) j(i)=sin(0*c(i,1))*si...

14년 초과 전 | 0

| 수락됨

답변 있음
ordering a list of number?
doc perms Gives all the permutations of the vector c=[1,2,3,4,5,6] perms(c)

14년 초과 전 | 2

| 수락됨

답변 있음
convert .p to .m
pcode is encrypted using AES encryption, using a key only known to Mathworks, so only Mathworks could convert it back. Need t...

14년 초과 전 | 0

답변 있음
Plotting data
try x_new=datenum(x,'dd-mmm-yyyy HH:MM:SS'); % xaxis time stamp format y=cell2mat(y) % y axis plot(x_new,y);...

14년 초과 전 | 0

더 보기