Resuelto


Array of Ones
Create a 100 X 100 array of ones.

casi 5 años hace

Resuelto


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

casi 5 años hace

Resuelto


Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

casi 5 años hace

Resuelto


UICBioE240 2.1
This will be useful later in the course, in conjunction to clc and clear all, what is the command to close all figure windows th...

casi 5 años hace

Resuelto


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

casi 5 años hace

Resuelto


Max of a Vector
Write a function to return the max of a vector

casi 5 años hace

Resuelto


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

casi 5 años hace

Resuelto


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

casi 5 años hace

Resuelto


Matlab Basics - Logical Tests I
Write a script to test whether a year number is for a leap year or not. eg. x = 1884 output = 1 eg. x = 3 output = 0

casi 5 años hace

Resuelto


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

casi 5 años hace

Resuelto


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

casi 5 años hace

Resuelto


Replace May with April
For instance, if the input is input_str = 'The flowers may bloom in April'; then the output is output_str = 'The flo...

casi 5 años hace

Resuelto


Find the logic
There exists one logic in between input and output. Find it (easy math). Example 1: x=13 then y=339; Example 2: x=26...

casi 5 años hace

Resuelto


Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

casi 5 años hace

Resuelto


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

casi 5 años hace

Resuelto


Bruh
Return 'bruh'.

casi 5 años hace

Resuelto


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

casi 5 años hace

Resuelto


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

casi 5 años hace

Resuelto


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

casi 5 años hace

Resuelto


find whether it is prime or not
For a given number find if its prime

casi 5 años hace

Resuelto


Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

casi 5 años hace

Resuelto


reverse string
input='rama' output='amar'

casi 5 años hace

Resuelto


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

casi 5 años hace

Resuelto


Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

casi 5 años hace

Resuelto


y equals x divided by 2
function y = x/2

casi 5 años hace

Resuelto


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

casi 5 años hace

Resuelto


Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

casi 5 años hace

Resuelto


Square root of a number
Write a code that will output the square root of x.

casi 5 años hace

Resuelto


Square a Number
Given an input x, return y, which is equal to the square of x.

casi 5 años hace

Resuelto


length of a vector
Find twice the length of a given vector.

casi 5 años hace

Cargar más