已解决


Find Logic 7

4 years 前

已解决


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

4 years 前

已解决


Calculate the base-10 logarithm of a number
Calculate the logarithm of number x

4 years 前

已解决


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

4 years 前

已解决


Column Removal (★★★)
(copy of prob 7) Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2...

4 years 前

已解决


Converter temp 0 to 200 degree C to 4 to 20mA
Converter temp 0 to 200 degree C to 4 to 20mA (It is used in transmitter)

4 years 前

已解决


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

4 years 前

已解决


Matrix Max Finder
Output the maximum value in a matrix

4 years 前

已解决


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

4 years 前

已解决


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]

4 years 前

已解决


Create a vector of n alternating ones and zeros (★★)
Given n, your output should be a vector y of numbers such that the first number is 1 and the numbers following it alternate betw...

4 years 前

已解决


The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

4 years 前

已解决


Create cosine function out of sine
Please dont use cos(x) directly

4 years 前

已解决


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

4 years 前

已解决


Draw a '1' in a zero matrix!

4 years 前

已解决


Find Logic 15

4 years 前

已解决


Find Logic 10

4 years 前

已解决


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

4 years 前

已解决


Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

4 years 前

已解决


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

4 years 前

已解决


Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

4 years 前

已解决


Mass Conversion 2

4 years 前

已解决


0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

4 years 前

已解决


Numbers on 7-segment
This is a 7-segment: _ |_| |_| It's a 3-by-3 char matrix.It has made by 3 characters: '_' , '|' and ' ' (space...

4 years 前

已解决


What's the missing interior angle?
I'm talking about polygons... The sum of the interior angles of a triangle is 180 degrees. The sum of the interior angles of a...

4 years 前

已解决


Can you reshape the matrix?
Given a matrix A, is it possible to reshape it into another matrix with the given number of rows?

4 years 前

已解决


Determinant of a 3x3 Matrix
Return the determinant of a 3x3 matrix. The built-in Matlab function det is not allowed.

4 years 前

已解决


Divide pi
Divide pi by x!

4 years 前

已解决


Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

4 years 前

已解决


Average of corner elements of a matrix (★★)
(copy of prob 2235) Calculate the average of corner elements of a matrix. e.g. x=[1 2 3; 4 5 6; 7 8 9;] avg = (1+3+7+9)...

4 years 前

加载更多