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

mer än 12 år ago | 0

| accepted

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

mer än 12 år ago | 0

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

mer än 12 år ago | 0

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

mer än 12 år ago | 0

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

mer än 12 år ago | 0

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

mer än 12 år ago | 0

Answered
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)=[] ...

mer än 12 år ago | 1

| accepted

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

mer än 12 år ago | 0

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

mer än 12 år ago | 0

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

mer än 12 år ago | 0

| accepted

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

mer än 12 år ago | 1

Answered
save figure in backround job
Your code should work.. If not try.. doc imsave

mer än 12 år ago | 0

| accepted

Answered
Removing elements in an array
aaa(aaa~=0) or aaa(~~aaa)

mer än 12 år ago | 0

| accepted

Answered
Getting minimum value from an array
try c=min(A(A~=0)) idx=find(A==c)

mer än 12 år ago | 0

| accepted

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

mer än 12 år ago | 1

| accepted

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

mer än 12 år ago | 0

| accepted

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

mer än 12 år ago | 1

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

mer än 12 år ago | 1

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

mer än 12 år ago | 6

| accepted

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

mer än 12 år ago | 0

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

mer än 12 år ago | 0

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

mer än 12 år ago | 0

| accepted

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

mer än 12 år ago | 2

| accepted

Answered
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

mer än 12 år ago | 0

| accepted

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

mer än 12 år ago | 0

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

mer än 12 år ago | 1

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

mer än 12 år ago | 0

| accepted

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

mer än 12 år ago | 2

| accepted

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

mer än 12 år ago | 0

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

mer än 12 år ago | 0

Load more