photo

Marco


University of Arizona

Actif depuis 2013

Followers: 0   Following: 0

Message

Statistiques

MATLAB Answers

6 Questions
3 Réponses

RANG
123 082
of 300 886

RÉPUTATION
0

CONTRIBUTIONS
6 Questions
3 Réponses

ACCEPTATION DE VOS RÉPONSES
66.67%

VOTES REÇUS
0

RANG
 of 21 104

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 171 502

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


putting a subscript into a string, displaying the command window
I need to know how to properly put a character into subscript within a string and to display with the subscript. input: ? outp...

environ 10 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
I have a function file, I want to input an array and evaluate each cell in that array. How do I alter my function file to do this?
I have found a long and painful answer to my own question that does not involve WR's suggestion. I remade x into x1, x2, and x3....

presque 13 ans il y a | 0

| A accepté

Question


I have a function file that I worked out myself, all I need to do is apply it to an array of values but it's not working, I'd appreciate any help.
Here is my function file so far function x=isoddm(a) if isnan(a)==1 x=-1; elseif mod(a,2)==0.5 ...

presque 13 ans il y a | 1 réponse | 0

1

réponse

Question


I have a function file, I want to input an array and evaluate each cell in that array. How do I alter my function file to do this?
function x=isoddm(a) if isnan(a)==1 x=-1; elseif mod(a,2)==0.5 x=-1; elseif mod(a,2)==1.5 ...

presque 13 ans il y a | 2 réponses | 0

2

réponses

Question


I'm trying to write a program that calculates the standard deviation of an array without using sum() or std() and I'm having problems
Here is my code thus far; aberration_waves=[0.213 0.531 0.605 0.448 0.972 0.054 0.889 0.247 0.128 0.711]; N=numel(aberration_w...

presque 13 ans il y a | 1 réponse | 0

1

réponse

Question


I have a text file that I would like to split into an array. Each array cell should be a word, not a sentence or line in the file.
This is what I got so far. But it does not actually solve my problem. file= fopen('marktwain.txt','r'); string= fread(fi...

presque 13 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
I'm trying to generate random numbers between zero and 1 using fix(clock) but I'm having difficulties, each time I run the program I get the same numbers. Can someone please help?
I made one correction. Because k is still small compared to seed, I changed it to mod(seed,50*k). The results are uniform.

presque 13 ans il y a | 0

Réponse apportée
I'm trying to generate random numbers between zero and 1 using fix(clock) but I'm having difficulties, each time I run the program I get the same numbers. Can someone please help?
thank you for your response, it works better than before. The numbers still express a pattern but their not the same as before.

presque 13 ans il y a | 0

Question


I'm trying to generate random numbers between zero and 1 using fix(clock) but I'm having difficulties, each time I run the program I get the same numbers. Can someone please help?
MinSec=fix(clock); seed=100*MinSec(5)+MinSec(6); D=seed; a=777; b=1444; c=6666; k=1:55; D(k)=(a*D+b)*mod(c,k); D_max=m...

presque 13 ans il y a | 3 réponses | 0

3

réponses