A résolu


Sum the two halves of an array with an even number of elements
given an array of an even number of elements, sum the front and back half of the array and return the sums as an array For exam...

plus d'un an il y a

A résolu


Intercambiar columnas - UC3M

plus d'un an il y a

A résolu


Let's make puddings !
We will make puddings with eggs, milk and sugar. To make one pudding, we need one egg, 140(cc) of milk, 15 (g) of sugar. Now W...

plus d'un an il y a

A résolu


BaeIsAlwaysRight
Output yes whatever bae says

plus d'un an il y a

A résolu


Simple sum 1

plus d'un an il y a

A résolu


MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

plus d'un an il y a

A résolu


Function substitution (2)
Evaluate the function for the given values of the variables N and t

plus d'un an il y a

A résolu


Slope of the line passing through two points
Determine the slope of a line passing through the points a=[x1 y1] and b=[x2 y2].

plus d'un an il y a

A résolu


reverse the order and combine a matrix

plus d'un an il y a

A résolu


Map all the indices of an Array Indices into a Vector giving Index vs Row and Column
Create an array of the row and column values for the indices of an array. This is typically performed using [r c]=ind2sub(siz...

plus d'un an il y a

A résolu


Add 2 to any number.
Add 2 to any number.

plus d'un an il y a

A résolu


factorial
calculate x!

plus d'un an il y a

A résolu


Draw a x-by-x matrix British flag (Euro 2020)
Draw a x-by-x matrix 'British flag' using '0' and '1'.(x is odd and bigger than 4) x = 5 answer = [0 0 1 0 0 ...

plus d'un an il y a

A résolu


Double the next and alternate sign

plus d'un an il y a

A résolu


Find the nearest value to the given one

plus d'un an il y a

A résolu


Battery Charge Indicator
Write a function called battery_charge that visually represents the charge of a battery. The function takes an integer paramete...

plus d'un an il y a

A résolu


Sun angle
Determine the angle of the sun above the horizon based on the time of day. Assumptions: the sun rises in the East at 6h00, cor...

plus d'un an il y a

A résolu


Basic Matlab Operation Bonanza
Given a horizontal array of numbers, perform the following operations, in order: transpose, flip matrix horizontally, flip matri...

plus d'un an il y a

A résolu


Lateral Area of a Right Rectangular Pyramid

plus d'un an il y a

A résolu


Draw matrix 'Swiss flag'( Euro 2020)
Draw a x-by-x matrix 'Swiss flag' using '0' and '1'.(x is odd and bigger than 4) Example x=5 ...

plus d'un an il y a

A résolu


Reverse a string
Return a string with the characters in reverse order from a given input string Ex: my_str = "Ciao" function should output "...

plus d'un an il y a

A résolu


Flip the Image

plus d'un an il y a

A résolu


Find out if the given number is a square of natural number.
For example , Input =4,output =1 Input=1,output=1 Input=0,output=0 Input=8,output=0

plus d'un an il y a

A résolu


Draw '5' in Chinese.
Draw a x-by-x matrix '五' using 1s and 0s. Example: x=5 ans= [1 1 1 1 1 0 1 0 0 0 1 1 1 1 0 0 1 0 1 0 1 1 1 1 1] x=7...

plus d'un an il y a

A résolu


Write a function to calculate step size delta if bits per sample and input range is given for quantization.
numBit = bits per sample; range = input max value - min value; delta = step size; l = number of levels;

plus d'un an il y a

A résolu


Compound interest - number e
A moneylender wants to receive his annual interest of 12% more frequently. If he receives his interest rate every six months,...

plus d'un an il y a

A résolu


Approximate functions 1 (★★★)
Compute the following sum for any given x and positive integer n. <<https://i.imgur.com/eUwXdSE.gif>> <> Here m! denote...

plus d'un an il y a

A résolu


Counting votes
x is a vector of votes, e.g. x=[1 2 3 2 2 1 3 2 1 2 2 2 2], who is the winner? 1,2,3?

plus d'un an il y a

Charger plus