Statistics
RANK
171,324
of 295,486
REPUTATION
0
CONTRIBUTIONS
6 Questions
3 Answers
ANSWER ACCEPTANCE
66.67%
VOTES RECEIVED
0
RANK
of 20,236
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153,950
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
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...
9 years ago | 2 answers | 0
2
answersI 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....
11 years ago | 0
| accepted
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 ...
11 years ago | 1 answer | 0
1
answerQuestion
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 ...
11 years ago | 2 answers | 0
2
answersQuestion
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...
11 years ago | 1 answer | 0
1
answerQuestion
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...
11 years ago | 3 answers | 0
3
answersI'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.
11 years ago | 0
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.
11 years ago | 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...
11 years ago | 3 answers | 0