photo

Staci


Last seen: oltre un anno fa |  Attivo dal 2022

Followers: 0   Following: 0

Statistica

Cody

0 Problemi
86 Soluzioni

RANK
N/A
of 302.373

REPUTAZIONE
N/A

CONTRIBUTI
0 Domande
0 Risposte

ACCETTAZIONE DELLE RISPOSTE
0.00%

VOTI RICEVUTI
0

RANK
 of 21.747

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK
7.397
of 181.813

CONTRIBUTI
0 Problemi
86 Soluzioni

PUNTEGGIO
1.002

NUMERO DI BADGE
2

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • Introduction to MATLAB Master
  • Solver

Visualizza badge

Feeds

Visto da

Risolto


Area of square
Find the area of a square whose diagonal length is given as x.

quasi 4 anni fa

Risolto


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

quasi 4 anni fa

Risolto


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

quasi 4 anni fa

Risolto


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

quasi 4 anni fa

Risolto


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

quasi 4 anni fa

Risolto


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

quasi 4 anni fa

Risolto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

quasi 4 anni fa

Risolto


Determine the length of a string of characters
Determine the length of a string of characters

quasi 4 anni fa

Risolto


Find square of given number
Find Square of any number

quasi 4 anni fa

Risolto


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

quasi 4 anni fa

Risolto


Watt
Ampere x Volt = Watt

quasi 4 anni fa

Risolto


Factorial

quasi 4 anni fa

Risolto


Spherical Volume
Calculate the volume of a sphere.

quasi 4 anni fa

Risolto


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

quasi 4 anni fa

Risolto


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

quasi 4 anni fa

Risolto


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

quasi 4 anni fa

Risolto


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

quasi 4 anni fa

Risolto


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

quasi 4 anni fa

Risolto


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

quasi 4 anni fa

Risolto


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


Give prime Numbers upto n
You are given a input number x; print all the prime numbers less than equal to x.

quasi 4 anni fa

Risolto


Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

quasi 4 anni fa

Risolto


Transpose of matrix
Transpose of matrix as per test cases

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

quasi 4 anni fa

Risolto


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input is n=4 th...

quasi 4 anni fa

Risolto


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

quasi 4 anni fa

Carica altro