Statistics
RANK
86,003
of 300,331
REPUTATION
0
CONTRIBUTIONS
7 Questions
2 Answers
ANSWER ACCEPTANCE
85.71%
VOTES RECEIVED
0
RANK
of 20,920
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 168,124
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
How to write a function that only accepts non-negative integer
Hi, I am writing a function called day_diff that takes four scalar positive integer inputs, month1, day1, month2, day2. These...
8 years ago | 1 answer | 0
1
answerHow to sort a 3 element vector input to scalar output?
I figured it out as follows: function [out1,out2,out3]=sort3(v) if v(1) <=v(2) && v(2)<=v(3); out1=v(1) ...
8 years ago | 0
| accepted
Question
How to sort a 3 element vector input to scalar output?
Hi, My function sort3 is supposed to take a 3-element vector and return the vector as three scalar output in nondecreasing or...
8 years ago | 3 answers | 0
3
answersQuestion
How to format fprintf with 2 decimals
HI, I have looked at other examples of fprintf, but my formatting on fare(4,75) is off and I am not sure why? fare(4,44) output ...
8 years ago | 1 answer | 0
1
answerQuestion
How do I properly combine "and", "or" and "if"
Hi, My function needs to calculate the cost of a train ticket. The first mile is $2. Each additional mile up to 10 miles is...
8 years ago | 3 answers | 0
3
answersQuestion
How to select odd numbers in a row
Hi, I need to write a function that returns an output, which is the square root of the mean of the squares of the first nn pos...
8 years ago | 2 answers | 0
2
answersQuestion
How do I create a function where output S has the rows as input N
I am trying to create a function where the output S shows selected statistics of input N. I need output S to have the same numb...
8 years ago | 1 answer | 0
1
answerQuestion
Hi, I need a function that calculates the sine of the corresponding element of an input. The input is in degrees and I am not allowed to use the built-in function sind.
Hi, I need a function that calculates the sine of the corresponding element of deg. Deg are giving in degrees and I am not allow...
8 years ago | 3 answers | 0
