photo

Umar


Last seen: Today Active since 2024

Followers: 26   Following: 4

Community volunteer, like to help people by making difference in their lives

Programming Languages:
Python, C++, C, Java, C#, Javascript, R, MATLAB, SQL, HTML, CSS, Arduino, Shell, Assembly, VHDL, Visual Basic
Spoken Languages:
English
Pronouns:
He/him

Statistics

All
MATLAB Answers

0 Questions
750 Answers

File Exchange

2 Files

Cody

0 Problems
639 Solutions

Discussions

1 Discussion

RANK
115
of 301,275

REPUTATION
1,122

CONTRIBUTIONS
0 Questions
750 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
118

RANK
19,411 of 21,216

REPUTATION
1

AVERAGE RATING
0.00

CONTRIBUTIONS
2 Files

DOWNLOADS
2

ALL TIME DOWNLOADS
10

RANK
170
of 173,777

CONTRIBUTIONS
0 Problems
639 Solutions

SCORE
8,032

NUMBER OF BADGES
32

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
1 Discussion

AVERAGE NO. OF LIKES
0

  • MATLAB Central Treasure Hunt Finisher
  • Most Accepted 2025
  • 6 Month Streak
  • Matrix Manipulation I Master
  • Cody Contest 2025 Finishers
  • Explorer
  • First Review
  • ASEE Challenge Master
  • Scholar
  • Cody Challenge Master
  • Project Euler I
  • Knowledgeable Level 5

View badges

Feeds

Solved


Smallest distance between a point and a rectangle
Given two points *x* and *y* placed at opposite corners of a rectangle, find the minimal euclidean distance between another poin...

2 hours ago

Solved


Clockwise or Counterclockwise
Given a list of 2-d points defining the vertices of a polygon, determine whether these points are sorted clockwise. The input...

2 hours ago

Solved


Are you in or are you out?
Given vertices specified by the vectors xv and yv, and a single point specified by the numbers X and Y, return "true" if the poi...

2 hours ago

Solved


Circumscribed circles
Given the lengths of the 3 sides of a triangle, output the radius of the circumscribed circle. Example: [3 4 5] -> 2.5

2 hours ago

Solved


Similar Triangles - find the height of the tree
Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...

2 hours ago

Solved


Angle between two vectors
You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...

2 hours ago

Solved


Clock Hand Angle 1
Given a time in HH:MM:SS, find the smallest angle (in degrees) between the hour and minute hand

2 hours ago

Solved


Covering area
As an extension of the problem <http://www.mathworks.com/matlabcentral/cody/problems/416-polygon-area>, find the area, bounded b...

3 hours ago

Solved


What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...

3 hours ago

Solved


Is the Point in a Circle?
Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...

3 hours ago

Solved


Spherical radius given four points
Determine the radius of a sphere provided four non-coplanar points on the surface of the sphere. pts = [x1 y1 z1; x...

3 hours ago

Solved


Are all the three given point in the same line?
In this problem the input is the coordinate of the three points in a XY plane? P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) how can...

3 hours ago

Solved


Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Find the remaining side of a triangle given the hypotenuse and a side. However, the normal functions and symbols are not allowe...

3 hours ago

Answered
Clarification on Sampling Rate vs. Control Bandwidth in Average Current Mode Control for Buck Converter
Hi @Cuong, Thanks for the detailed questions on your Buck converter setup — really good thinking on your part to question thi...

3 hours ago | 0

Solved


Triangle Coordinates
Given a natural number n, return two -element vectors, x and y, containing the coordinates of a triangular arrangement of points...

1 day ago

Solved


Angle Between Analog Clock Hands
Given a datetime variable t, return the angle (in degrees) between the hour and minute hands of an analog clock at the time repr...

1 day ago

Solved


Extract the Acrostic Message
An acrostic cipher is a way of embedding one message within another by taking the first (or last) word of each line. Given a str...

1 day ago

Solved


Boustrophedon
Given a vector v and a positive integer n, return an m-by-n matrix containing the elements of v row-wise, alternating left-to-ri...

1 day ago

Solved


Create block matrix of integers (j+k-1) - Part II
Given m, n, p, and q, create an m-by-n matrix made up of submatrices, each sized p-by-q (if possible - the last row and column o...

1 day ago

Solved


Create block matrix of integers (j+k-1) - Part I
Given m, n, p, and q, create a matrix of m-by-n blocks (submatrices), each sized p-by-q. The elements of the (j,k)th block all h...

1 day ago

Solved


Dartboard Average II
A dartboard arranges the numbers 1 to 20 such that each value is typically flanked by quite different values - for example, 20 i...

1 day ago

Solved


Possible Rugby Scores
Given a natural number s (> 4), representing a rugby team's score, return an n-by-3 matrix representing all n possible combinati...

1 day ago

Answered
How to place code generated from subsystem into RAM on Ti C2000?
Hi @Valeriy, Good question — this trips up a lot of people because the MathWorks documentation focuses on the pragma setup bu...

1 day ago | 0

Answered
Docblock within a Black box subsystem for VHDL module simulation
Hi @Matias, Thanks for your question — this is a very common point of confusion and the documentation doesn't make it obvious...

3 days ago | 0

Answered
Simulink simulation becomes very slow after adding FOC to a 6-phase PMSM drive with CHB inverter
Hi @Fabrice, What you are experiencing is completely normal and expected given your setup. The main culprit is your 100 kHz ...

6 days ago | 0

Answered
Apply DC Dynamic load block in a three phase grid connected rectifier circuit
Hi @Xuan Minh, Thanks for sharing the details of your setup — this is a really interesting modification and the issue you're...

9 days ago | 0

| accepted

Answered
code improvement/optimization
Hi @Cesar, Thanks for sharing your code — it is clear you have a solid grasp of the method and the structure is easy to fol...

11 days ago | 1

Answered
Unable to find explicit solution on vector equation with solve
Hi @Yanncha, I took a close look at your code and identified everything that's going wrong — there are actually a few layered i...

14 days ago | 1

| accepted

Answered
What are the Differences between Simulink "Powertrain blockset" and "Simscape Driveline" in the case of developing a Hybrid Electric Vehicle?
Hi @Khaled, Saw your question on MATLAB Answers and wanted to give you a proper rundown since this trips up a lot of people e...

18 days ago | 0

Answered
Unable to View Data Properly in Variable Editor (R2025a, Monokai Scheme)
Hi @Yuan, I have been looking into your Variable Editor issue with the Monokai scheme in R2025a, and I think I've figured out...

24 days ago | 1

| accepted

Load more