解決済み


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

3年以上 前

解決済み


Matlab Basics - Create a row vector
Write a Matlab script to create a row vector of 10 consecutive numbers x = [1 2 3 4 5 6 7 8 9 10]

3年以上 前

解決済み


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

3年以上 前

解決済み


Find square of given number
Find Square of any number

3年以上 前

解決済み


Calculate Resistance 2
In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...

3年以上 前

解決済み


Calculate Resistance
Calculate Resistance R of a linear conductor having resistivity p, length l and area A

3年以上 前

解決済み


Add 3 numbers
In this problem, you have to add three numbers a, b and c. Give output d = add(a,b,c)

3年以上 前

解決済み


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.

3年以上 前

解決済み


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

3年以上 前

解決済み


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

3年以上 前

解決済み


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

3年以上 前

解決済み


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

3年以上 前

解決済み


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

3年以上 前

解決済み


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

3年以上 前

解決済み


Convert degrees to radians
Given input in degrees, output to radians

3年以上 前

解決済み


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

3年以上 前

解決済み


Draw 'J'
Given n as input, generate a n-by-n matrix 'J' using 0 and 1 . Example: n=5 ans= [0 0 0 0 1 0 0 0 0 1 0 0 ...

3年以上 前

解決済み


Calculate square and cube of number
Calculate square and cube of number x

3年以上 前

解決済み


Area of a circle
Find the value for area of the circle if diameter is given

3年以上 前

解決済み


square number
Square a number

3年以上 前

解決済み


Draw 'H'
Draw a x-by-x matrix 'H' using 1 and 0. (x is odd and bigger than 2) Example: x=5 ans= [1 0 0 0 1 1 0 0 0 1 ...

3年以上 前

解決済み


Mile to Kilometer
x is mile and y is km

3年以上 前

解決済み


Volume of Cylinder
Find the volume of a cylinder

3年以上 前

解決済み


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

3年以上 前

解決済み


cube of number
find cube of number

3年以上 前

解決済み


square of a number
find square of a given number

3年以上 前

解決済み


square root
Find square root of given number

3年以上 前

解決済み


Calculate volume of box
Calculate the volume of box,hiven its sides

3年以上 前

解決済み


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

3年以上 前

解決済み


Calculate the volume of the cube.
Example n = 3; a = volume(n); a = 27

3年以上 前

さらに読み込む