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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 1

| aceptada

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 1

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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 1

| aceptada

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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 1

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

alrededor de 14 años hace | 1

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

alrededor de 14 años hace | 6

| aceptada

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 2

| aceptada

Respondida
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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 1

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

alrededor de 14 años hace | 0

| aceptada

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

alrededor de 14 años hace | 2

| aceptada

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

Cargar más