photo

Sunil


Last seen: ein Tag vor Aktiv seit 2024

Followers: 0   Following: 5

Nachricht

I am keen on exploring interesting problems related to Maths, Science and Engineering with a passion for teaching.

Statistik

All
  • MATLAB Central Treasure Hunt Finisher
  • CUP Challenge Master
  • Commenter
  • Community Group Solver
  • Promoter
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to use both GPU devices in the laptop
Hi all, I have 2 GPUs available in my laptop as listed in the task manager, but gpuDeviceTable lists only one . How can I enab...

3 Tage vor | 2 Antworten | 0

2

Antworten

Gelöst


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

etwa 2 Monate vor

Gelöst


Half-Swap
Given a vector with an even number of elements, rearrange it so that the elements in its first half are switched with those i...

etwa 2 Monate vor

Gelöst


Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example start with x = 1 and y = 3 end with y = 1 and x = 3 Do NOT simply r...

etwa 2 Monate vor

Gelöst


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

etwa 2 Monate vor

Gelöst


Swap between columns
The idea is to swap between second and second last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

etwa 2 Monate vor

Gelöst


Swap between first and last
The idea is to swap between first and last row Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

etwa 2 Monate vor

Gelöst


Swap between first and last column
The idea is to swap between first and last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 ...

3 Monate vor

Gelöst


Remove a specific row with min value
Remove the row that contain the min value in the matrix? If you like the problem, please give it a like:)

3 Monate vor

Gelöst


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

3 Monate vor

Gelöst


Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1. example: n=3 ans= [0 1 0 0 1 0 0 1 0] n=...

4 Monate vor

Gelöst


Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

4 Monate vor

Gelöst


Draw 'C'.
Given x as input, generate a x-by-x matrix 'C' using 0 and 1. example: x=4 ans= [0 1 1 1 1 0 0 0 ...

4 Monate vor

Gelöst


Draw a 'X'!
Given n as input Draw a 'X' in a n-by-n matrix. example: n=3 y=[1 0 1 0 1 0 1 0 1] n=4 y=[1 0 0...

4 Monate vor

Gelöst


Find nearest prime number less than input number
Find nearest prime number less than input number. For example: if the input number is 125, then the nearest prime number whi...

4 Monate vor

Gelöst


System of equations
Find a solution to a system of equations represented by a |n| by |n+1| matrix. For instance, [ 2 0 4; => 2*x = 4 ...

5 Monate vor

Gelöst


Symmetric matrix
You must create a n-by-n *symmetric* matrix such that A(row,col) = row/col for col >= row. Example if n =3 : output is : ...

5 Monate vor

Gelöst


Pascal's Matrix
Given an integer n &ge; 0, generate the ( _n_+1) &times; ( _n_+1) lower triangular <http://en.wikipedia.org/wiki/Pascal_matrix P...

5 Monate vor

Gelöst


Converts numbers into characters
Converts numbers into characters

6 Monate vor

Gelöst


Find the max element of the array
Find the max element of the array

6 Monate vor

Gelöst


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

6 Monate vor

Gelöst


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

6 Monate vor

Gelöst


to the 2 all elements
to the 2 all elements

6 Monate vor

Gelöst


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

6 Monate vor

Gelöst


Double all elements in the array
Duplicate all elements in the array

6 Monate vor

Gelöst


calculate the length of matrix
input 1 array, calculate the length

6 Monate vor

Gelöst


Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

6 Monate vor

Gelöst


Integer Sequence - 1
Check the test suite to determine the relationship between input integer scalar and output integer scalar.

6 Monate vor

Gelöst


Slicing the cube
A bored matlab enthusiast has a cube with volume n^3. He decides to paint the entire surface of the cube red. Then, with slices...

6 Monate vor

Gelöst


Find out sum of prime number till given number
Find out sum of prime number till given number Example, if number is 10, then answer must be 17.

6 Monate vor

Mehr laden