Community Profile # Saul Sanchez

Last seen: 約2ヶ月 前 2022 以来アクティブ

#### Statistics

• • • バッジを表示

#### Content Feed

Square
square root of x

Square root of number
Square root of given number.

only input
Return the output without writing any code into the function.

Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

Calculate the area of a circle
Given a circle of diameter x calculate its area

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

cube of number
find cube of number

square of a number
find square of a given number

square root
Find square root of given number

Draw a '0' in a one matrix!

the average value of the elements
Calculate the average value of the elements in the array

Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

Create a vector
Create a vector from 0 to n by intervals of 2.

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

to the 2 all elements
to the 2 all elements

Temperature Conversion 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]

Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

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

Area of a disk
Find the area of a disk or circle. x= radius of the disk.

Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239