M Waqar Nadeem
Estadísticas
CLASIFICACIÓN
3.506
of 288.904
REPUTACIÓN
14
CONTRIBUCIONES
0 Preguntas
1 Respuesta
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
7
CLASIFICACIÓN
of 19.495
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
5.627
of 143.105
CONTRIBUCIONES
0 Problemas
82 Soluciones
PUNTUACIÓN
947
NÚMERO DE INSIGNIAS
4
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
1 Público Canal
EVALUACIÓN MEDIA
30
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Content Feed
Resuelto
Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...
alrededor de 2 años hace
Resuelto
Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>
alrededor de 2 años hace
Resuelto
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
alrededor de 2 años hace
Resuelto
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
alrededor de 2 años hace
Resuelto
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...
alrededor de 2 años hace
Resuelto
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
alrededor de 2 años hace
Resuelto
Inner product of two vectors
Find the inner product of two vectors.
alrededor de 2 años hace
Resuelto
Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]
alrededor de 2 años hace
Resuelto
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
alrededor de 2 años hace
Resuelto
Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...
alrededor de 2 años hace
Gaussian Elimination technique by matlab
C = [1 2 -1; 2 1 -2; -3 1 1] b= [3 3 -6]' A = [C b]; %Augmented Matrix n= ...
alrededor de 3 años hace | 7
Resuelto
Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...
alrededor de 4 años hace
Resuelto
Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...
alrededor de 4 años hace
Resuelto
Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.
alrededor de 4 años hace
Resuelto
Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle
alrededor de 4 años hace
Resuelto
Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.
alrededor de 4 años hace
Resuelto
Convert radians to degrees
Given input in radians, output to degrees
alrededor de 4 años hace
Resuelto
Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...
alrededor de 4 años hace
Resuelto
radius of a spherical planet
You just measured its surface area, that is the input.
alrededor de 4 años hace
Resuelto
Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...
alrededor de 4 años hace
Resuelto
Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...
alrededor de 4 años hace
Resuelto
How to subtract?
*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...
alrededor de 4 años hace
Resuelto
Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.
alrededor de 4 años hace
Resuelto
Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...
alrededor de 4 años hace
Resuelto
Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...
alrededor de 4 años hace
Resuelto
Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...
alrededor de 4 años hace
Resuelto
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
alrededor de 4 años hace
Resuelto
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....
alrededor de 4 años hace