photo

Yu Zhang


Last seen: Today Active since 2025

Followers: 0   Following: 3

Open to learning and learn new things daily so I could influence my children to learn as well into math and programming.

Programming Languages:
Python, MATLAB
Spoken Languages:
English, Chinese

Statistics

Cody

0 Problems
59 Solutions

RANK
N/A
of 300,508

REPUTATION
N/A

CONTRIBUTIONS
0 Questions
0 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
0

RANK
 of 21,019

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
8,751
of 169,435

CONTRIBUTIONS
0 Problems
59 Solutions

SCORE
767

NUMBER OF BADGES
5

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Promoter
  • MATLAB Central Treasure Hunt Finisher
  • Community Group Solver
  • Introduction to MATLAB Master
  • Solver

View badges

Feeds

View by

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

16 hours ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

16 hours ago

Solved


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

16 hours ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

16 hours ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

16 hours ago

Solved


Find max
Find the maximum value of a given vector or matrix.

16 hours ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

16 hours ago

Solved


Inner product of two vectors
Find the inner product of two vectors.

16 hours ago

Solved


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

16 hours ago

Solved


Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

3 days ago

Solved


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

6 days ago

Solved


surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...

6 days ago

Solved


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

6 days ago

Solved


Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given number of...

7 days ago

Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

7 days ago

Solved


Convert radians to degrees
Given input in radians, output to degrees

7 days ago

Solved


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

7 days ago

Solved


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

7 days ago

Solved


radius of a spherical planet
You just measured its surface area, that is the input.

8 days ago

Solved


Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

8 days ago

Solved


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

8 days ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

15 days ago

Solved


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

30 days ago

Solved


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

3 months ago

Solved


Total energy

4 months ago

Solved


Potential energy calculation

4 months ago

Solved


Kinetic energy calculation

4 months ago

Solved


Laws of motion 1

4 months ago

Solved


Laws of motion 2

4 months ago

Solved


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

4 months ago

Load more