Community Profile

photo

Suraj Kumar


IIT Roorkee

Last seen: 11 Monate vor Aktiv seit 2020

Followers: 0   Following: 0

Ph.D. Candidate

Programming Languages:
Python, C++, MATLAB
Spoken Languages:
English, Hindi
Professional Interests:
Mathematics, Optimization, Power and Energy Systems

Statistiken

All
  • MATLAB Central Treasure Hunt Finisher
  • Quiz Master
  • Creator
  • 5-Star Galaxy Level 4
  • Personal Best Downloads Level 4
  • Introduction to MATLAB Master
  • CUP Challenge Master
  • Community Group Solver
  • First Review
  • Commenter
  • Promoter
  • First Submission

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


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

fast 2 Jahre vor

Gelöst


Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

fast 2 Jahre vor

Gelöst


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

fast 2 Jahre vor

Gelöst


Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

fast 2 Jahre vor

Gelöst


Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

fast 2 Jahre vor

Gelöst


Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

fast 2 Jahre vor

Gesendet


Current Controlled Grid Integrated Inverter (Hysteresis PWM)
For the mathematical understanding of reference current calculation refers to the youtube video, link provided in the descriptio...

fast 2 Jahre vor | 15 Downloads |

Thumbnail

Gelöst


Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

fast 2 Jahre vor

Frage


Why three phase source is producing variable power in PV mode?
I want to simulate a system with a three-phase source and a three-phase load, where a three-phase source produces constant activ...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


Too Many Zeros, Dump Them!
Sometimes when I create a matrix, I use this syntax: a = zeros(1000,1000); But when the function ends, I find that I don'...

etwa 2 Jahre vor

Gelöst


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

etwa 2 Jahre vor

Gelöst


Chess probability
The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

etwa 2 Jahre vor

Gelöst


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

etwa 2 Jahre vor

Gelöst


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

etwa 2 Jahre vor

Gelöst


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

etwa 2 Jahre vor

Gelöst


Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

etwa 2 Jahre vor

Gelöst


Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

etwa 2 Jahre vor

Gelöst


frame of the matrix
Given the matrix M, return M without the external frame.

etwa 2 Jahre vor

Gelöst


Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

etwa 2 Jahre vor

Gelöst


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

etwa 2 Jahre vor

Gelöst


Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

etwa 2 Jahre vor

Gelöst


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...

etwa 2 Jahre vor

Gelöst


Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

etwa 2 Jahre vor

Gelöst


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

etwa 2 Jahre vor

Gesendet


Build Algorithms in MATLAB With Examples: Beginners Level
This is a link to a youtube playlist containing 11 small Matlab coding examples. Here, I explained the basics of algorithm build...

etwa 2 Jahre vor | 0 Downloads |

Gelöst


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

etwa 2 Jahre vor

Gelöst


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

etwa 2 Jahre vor

Gelöst


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

etwa 2 Jahre vor

Frage


Matlab cody problem submission is removed. Why?
I have submitted a problem in cody some days back. Now it is not showing in my profile. Initially it was accepted and some peopl...

etwa 2 Jahre vor | 1 Antwort | 1

1

Antwort

Problem


Find Current in R circuit.
Find the current in an R circuit for a given input of Voltage (V) and Resistance(R).

etwa 2 Jahre vor | 1 | 70 Lösungsvorschläge

Mehr laden