Community Profile

photo

Chinmaya


Last seen: circa un anno fa Attivo dal 2017

Ionospheric physicist

Statistiche

All
  • MATLAB Central Treasure Hunt Finisher
  • Likeable
  • Quiz Master
  • First Submission
  • Famous
  • Curator
  • Speed Demon
  • Creator
  • Scholar
  • Project Euler I
  • Draw Letters
  • CUP Challenge Master

Visualizza badge

Content Feed

Visto da

Risolto


Rearrange the given matrix to have all its zeros climb up to the top of each column - using for loops.
Given a matrix x, *using loops only* return a matrix y, in which all the zeros have "climbed" up to the top. That is, any zeros ...

circa 3 anni fa

Risolto


Given a matrix A return a vector of the product of the elements in each column using a loop without using prod.
--------------------- for m: 3 1 3 3 10 1 9 1 9 4 1 4 5 6 5 ...

circa 3 anni fa

Risolto


Ohmic Heating

circa 3 anni fa

Risolto


Minkowski distance

circa 3 anni fa

Risolto


Sum multiples

circa 3 anni fa

Risolto


F-score

circa 3 anni fa

Risolto


How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

circa 3 anni fa

Risolto


square root
Find the square root (y) of an input (x).

circa 3 anni fa

Risolto


Add two numbers
Add two numbers (For beginners)

circa 3 anni fa

Risolto


square number
Square a number

circa 3 anni fa

Risolto


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

circa 3 anni fa

Risolto


Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

circa 3 anni fa

Risolto


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

circa 3 anni fa

Risolto


Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

circa 3 anni fa

Risolto


Reverse a matrix
Its simple. You have to reverse a given matrix.

circa 3 anni fa

Risolto


surface of a spherical planet
you just discovered its circumference, that is the input.

circa 3 anni fa

Risolto


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

circa 3 anni fa

Risolto


Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

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

circa 3 anni fa

Risolto


pressure to dB?
given x ratio of pressure, find corresponding y dB

circa 3 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

circa 3 anni fa

Risolto


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

circa 3 anni fa

Risolto


Positive Infinity
Round the array a towards positive infinity

circa 3 anni fa

Risolto


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

circa 3 anni fa

Risolto


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

circa 3 anni fa

Risolto


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

circa 3 anni fa

Risolto


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

circa 3 anni fa

Risolto


Negative Infinity
Round the given array a towards negative infinity.

circa 3 anni fa

Risolto


Triangle Numbers Below N
This is an offshoot of <http://www.mathworks.com/matlabcentral/cody/problems/5-triangle-numbers Cody Problem 5: Triangle Numbers...

circa 3 anni fa

Carica altro