Programming Languages:
MATLAB
Spoken Languages:
English, Italian
MATLAB
Spoken Languages:
English, Italian
Feeds
已解决
Juros Compostos
Faça uma função que receba um capital inicial (C), uma taxa de juros a ser aplicada (i) e um tempo (t) para qual será aplicado o...
4 days 前
已解决
Check if a number belongs in the fibonacci squence
Test if integer i is a number in the fibonacci sequence. Return true if it is.
4 days 前
已解决
Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.
4 days 前
已解决
Check if number is a square number
Test if integer i is a square number. Return logical true if it is.
4 days 前
已解决
Get the n-th rand number with given seed
Given seed s, return the n-th rand number using rand(). Round the answer with 4 digits. n is a postive integer.
4 days 前
已解决
Upper triangular matrix
Create a function to retrieve the upper triangular matrix of a matrix (without using tril). The matrix will always be square. ...
5 days 前
已解决
angle in regular polygon
Make a function which returns measure of interior angle in x-side regular polygon. x is as input. Please pay attention, that 1 ...
6 days 前
已解决
Calories in a slice of pizza?
The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...
6 days 前
已解决
Vertically stack two vectors
Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]
10 days 前
已解决
Can you reshape the matrix?
Given a matrix A, is it possible to reshape it into another matrix with the given number of rows?
10 days 前
已解决
String Logic 3
Example: 'CAT' --> 'RPI' 'DOG' --> 'SDV' 'MATLAB' --> 'BPIAPQ' 'ROSY' --> 'GDHN' 'TRUST' --> 'IGJHI' 'MOSTLY' --> 'BDHI...
10 days 前
已解决
String Logic 18
Examples: 'DIG' --> 'DG' 'IMPORTANT' --> 'IPRAT' 'DEAL' --> 'DA' 'LIMB' --> 'LM' 'MOSTLY' --> 'MSL'
10 days 前
已解决
"Find out the best cricket"
This is how I originally read Problem 2013, so let's just go with it. Give me the first and last name of the best cricket, rega...
10 days 前
已解决
英語の文章内の母音を取り除くコードを書きましょう。
与えられた英語の文章内の母音を取り除きましょう。 例: 入力 s1 が 'Jack and Jill went up the hill' の場合、 出力 s2 は 'Jck nd Jll wnt p th hll' * (英語版) ...
12 days 前
已解决
find the relation...
if given input is 1, output is 4. if input is 55, output is 3136.
12 days 前
已解决
Cancel Middle
Write a function called cancel_middle that takes A, an n-by-m matrix, as an input where both n and m are odd numbers an...
12 days 前
已解决
Identifying teenager
Suppose the age of a person is given. If he/she is a teenage, answer is 'yes'. Otherwise, the answer is 'no'.
12 days 前
已解决
Zero or hero
A number will be given as an input. You can be hero if it's not zero. (Just for fun)
12 days 前
已解决
Write a function that gives the ReLU of the input.
The ReLU function is given by, In here, x input can be a scalar, vector or a matrix.
12 days 前
已解决
Delete and Earn
You are given an integer array nums. You want to maximize the number of points you get by performing the following operation any...
12 days 前











