Risolto


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

circa 2 mesi fa

Risolto


raise 1/3
Raise a number to 1/3 power.

circa 2 mesi fa

Risolto


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...

circa 2 mesi fa

Risolto


Count number of words in string
Count number of words in string Examples 'hi', answer is 1 'hi hi', answer is 2 'I enjoy cody', answer is 3

circa 2 mesi fa

Risolto


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

circa 2 mesi fa

Risolto


cross in array
Make a cross from "1" in odd size array. Other value from array should be equal to "0"; As input you get length of side of arra...

circa 2 mesi fa

Risolto


divide by 5

circa 2 mesi fa

Risolto


Kelvin to Celsius
Degrees Celsius = degrees Kelvin - 273.15. Given a temperature in Kelvin, return the equivalent temperature in Celsius.

circa 2 mesi fa

Risolto


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

circa 2 mesi fa

Risolto


peta to nano (x-ray)
for certain x-ray radiation, given frequency in petahertz, give wavelength in nanometer, must be accurate +/- 25%

circa 2 mesi fa

Risolto


Test of Quiz
Answer the questions and write in vector. Only one answer is correct. The founder of fuzzy logic is 1a) D. Golberg 1b)...

circa 2 mesi fa

Risolto


UICBioE240 problem 1.4
So if A = [ 1 2 3; 4 5 6; 7 8 9] B = [ 3 3]

circa 2 mesi fa

Risolto


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

circa 2 mesi fa

Risolto


Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

circa 2 mesi fa

Risolto


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

circa 2 mesi fa

Risolto


first element of matrix
find the first elements of a column matrix

circa 2 mesi fa

Risolto


Calculate the square of a number (Super Easy)
The goal is to calculate the square (y) of a number (x). Good way to start MatLab for beginners.

circa 2 mesi fa

Risolto


Matlab Basics II - Log and natural log
Write a function that calculates the difference between the log and natural log of a vector, to two decimal places example: ...

circa 2 mesi fa

Risolto


Penny flipping - calculate winning probability (easy)
Two players are playing a fair penny flipping game. For each flip, the winner adds one penny from the loser's collection to his/...

circa 2 mesi fa

Risolto


UICBioE240 2.8
Convert x number of hours into seconds.

circa 2 mesi fa

Risolto


Box
Give the volume of a box, x is equal to the body diagonal.

circa 2 mesi fa

Risolto


UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

circa 2 mesi fa

Risolto


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...

circa 2 mesi fa

Risolto


Radians to Degrees
Convert radians to degrees.

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


Divisors of an integer
Given a number N, return a vector V of all integers that divide N. For example, N = 10 Then V=[1 2 5 10]

circa 2 mesi fa

Risolto


Degrees to Radian
Convert degrees to radians

circa 2 mesi fa

Risolto


Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

circa 2 mesi fa

Risolto


Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

circa 2 mesi fa

Carica altro