photo

Vatsal Gupta


Active since 2018

Followers: 0   Following: 0

Statistics

All
MATLAB Answers

6 Questions
0 Answers

Cody

0 Problems
1 Solution

RANK
66,902
of 300,900

REPUTATION
0

CONTRIBUTIONS
6 Questions
0 Answers

ANSWER ACCEPTANCE
50.0%

VOTES RECEIVED
0

RANK
 of 21,106

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
121,777
of 171,578

CONTRIBUTIONS
0 Problems
1 Solution

SCORE
20

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 2
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


Time managed program in MATLAB
Is there any specific function or code which enables the code to run for a specified amount of time, like say, 10 minutes. The c...

7 years ago | 1 answer | 0

1

answer

Question


How to modify Loop variable inside the loop body
for i=1:10 if randi(10)==3 i=i-1; end end In the above code, i must get reduced by 1 whenever t...

7 years ago | 1 answer | 0

1

answer

Question


Replace repeated pair of coordinates generated from 'randi' statement.
N=input('How many pairs?'); randnos=randi(10,N,2); The above statement generates N pairs of coordinates as a Nx2 array. ...

7 years ago | 3 answers | 0

3

answers

Question


Divide points according to quadrant system
I have written a code to divide L pairs (coordinates) according to 4 quadrants: L=input('Enter the number of pairs: '); ...

7 years ago | 1 answer | 0

1

answer

Question


Calculate distance between an 5x2 array of (x,y) pairs and a known point
tr=randi(10,5,2);%makes 5x2 matrix generating random nos b/w 1 to 10 xy=sortrows(tr); The above statements makes the fol...

7 years ago | 2 answers | 0

2

answers

Question


Time dependent function in MATLAB which modifies a variable's value after a few known seconds.
Let x=100. After 5 seconds x should become 99. After further 5 seconds, x should become 98 and so on till x becomes 20. In C++, ...

7 years ago | 0 answers | 0

0

answers

Solved


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

7 years ago