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

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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 ...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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)=[] ...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

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

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Find element in matrix
A = [1 2 3 5 2 4 6 1 ]; intersect(A(:,1),A(:,2))

plus de 14 ans il y a | 1

Réponse apportée
save figure in backround job
Your code should work.. If not try.. doc imsave

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Removing elements in an array
aaa(aaa~=0) or aaa(~~aaa)

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Getting minimum value from an array
try c=min(A(A~=0)) idx=find(A==c)

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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); ...

plus de 14 ans il y a | 1

| A accepté

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

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 1

Réponse apportée
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 ...

plus de 14 ans il y a | 1

Réponse apportée
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...

plus de 14 ans il y a | 6

| A accepté

Réponse apportée
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(...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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. ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
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

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 1

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

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

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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);...

plus de 14 ans il y a | 0

Charger plus