photo

Rahul Sharma


Last seen: plus de 4 ans il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

All
MATLAB Answers

0 Questions
2 Réponses

Cody

0 Problèmes
11 Solutions

RANG
163 502
of 300 853

RÉPUTATION
0

CONTRIBUTIONS
0 Questions
2 Réponses

ACCEPTATION DE VOS RÉPONSES
0.00%

VOTES REÇUS
0

RANG
 of 21 094

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG
38 056
of 171 319

CONTRIBUTIONS
0 Problèmes
11 Solutions

SCORE
120

NOMBRE DE BADGES
1

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • First Answer
  • Solver

Afficher les badges

Feeds

Afficher par

A résolu


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

presque 6 ans il y a

A résolu


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

presque 6 ans il y a

A résolu


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

presque 6 ans il y a

Réponse apportée
Solving Matrix Index Problem
a=randi(4,3,4) a(:,1)=0.25*a(:,1); a(:,2)=0.10*a(:,2); a(:,3)=0.05*a(:,3); a(:,4)=0.01*a(:,4); disp(a) b = max(s...

presque 6 ans il y a | 0

Réponse apportée
Solving Matrix Index Problem
clear all clc a=randi(4,3,4) k=[0.25 0.10 0.05 0.01]; for j=1:4 for i=1:3 a(i,j)=k(j)*a(i,j) end end b=...

presque 6 ans il y a | 0

A résolu


Add two numbers
Given a and b, return the sum a+b in c.

presque 6 ans il y a

A résolu


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

presque 6 ans il y a

A résolu


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

presque 6 ans il y a

A résolu


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

presque 6 ans il y a

A résolu


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

presque 6 ans il y a

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

presque 6 ans il y a

A résolu


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

presque 6 ans il y a

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

presque 6 ans il y a