~~~~~~~ WAVE ~~~~~~~~~
|The WAVE generator|
Once upon a time there was a river. 'Sum' was passing by the river. He saw the water of the river that w...
13年弱 前
解決済み
CARDS PROBLEM
Read my mind and tell me the card number that I have now in my hands.
13年弱 前
解決済み
rocsnr function is not working
SNRvals = [2 4 8 9.4];
rocsnr(SNRvals);
[Pd,Pfa] = rocsnr(8);
idx = find(Pfa==0.01); % find index for Pfa=0.01
Pd(idx)...
Reverse CHECKBOX MATRIX with 69
Create a reverse checkbox matrix with '69'.
Where the size is the input and output will be a square checkbox matrix.
Exa...
Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...
Make a vector of prime numbers
Input(n) - length of vector with prime numbers
Output(v) - vector of prime numbers
Example:
* n=1; v=2
* n=3; v=[2 3 5...
COUNT VOWEL 2
The objective of this problem is to determine the number of unique vowels used in the given string.
Now count vowels in STRI...
13年弱 前
解決済み
COUNT VOWEL
Count, how many times vowels occurred.
EXAMPLE:
x='string the MaTLaBiAn' then the answer will be 6.
x='coUnt the vowEl' th...
13年弱 前
解決済み
Power The Product
EXAMPLE:
INPUT x=10 & y=10
OUTPUT z=1000000
or,
INPUT x=2 & y=3
OUTPUT z= 216
you just need to calculate the product first...
13年弱 前
解決済み
Can I make a right triangle ?
Input(a) - is vector with any amount of values. Interpreted as legths of sides.
Output(b):
* Is true if there are any 3 va...
13年弱 前
解決済み
Vector of numbers divisible by 3
* Input(n) - any integer
* Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0
Examples:
* n=6...