photo

John Wirzburger


Last seen: 24 days ago Active since 2016

Followers: 0   Following: 0

Message

G&C Designer

Statistics

All
MATLAB Answers

0 Questions
4 Answers

File Exchange

1 File

Cody

0 Problems
244 Solutions

RANK
2,596
of 300,603

REPUTATION
24

CONTRIBUTIONS
0 Questions
4 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
9

RANK
17,625 of 21,028

REPUTATION
3

AVERAGE RATING
0.00

CONTRIBUTIONS
1 File

DOWNLOADS
1

ALL TIME DOWNLOADS
38

RANK
780
of 169,786

CONTRIBUTIONS
0 Problems
244 Solutions

SCORE
2,741

NUMBER OF BADGES
6

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Cody5 Easy Master
  • Community Group Solver
  • MATLAB Central Treasure Hunt Finisher
  • First Submission
  • Knowledgeable Level 1
  • First Answer
  • ASEE Challenge Master
  • Tiles Challenge Master
  • Scavenger Finisher
  • CUP Challenge 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.

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

23 days ago

Solved


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

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

23 days ago

Solved


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

23 days ago

Solved


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

23 days ago

Solved


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

23 days ago

Solved


ASCII Birthday Cake
Given an age and a name, give draw an ASCII birthday cake. For example, given the name "CODY" and the age 5, return a string wit...

23 days ago

Solved


Polarisation
You have n polarising filters stacked one on top of another, and you know each axis angle. How much light gets passed through th...

23 days ago

Solved


Breaking Out of the Matrix
Do you want to take the Red Pill, or the Blue Pill? If you take the Blue Pill, you will simply pass along to the next problem...

23 days ago

Solved


MATLAB Counter
Write a function f = counter(x0,b) to construct a counter handle f that counts with an initial value x0 and a step size b. E...

23 days ago

Solved


Sums of Multiple Pairs of Triangular Numbers
This is a follow-up to <https://www.mathworks.com/matlabcentral/cody/problems/44289 Problem 44289> - Find two triangular numbers...

23 days ago

Solved


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

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

23 days ago

Solved


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

23 days ago

Solved


Pi Digit Probability
Assume that the next digit of pi constant is determined by the historical digit distribution. What is the probability of next di...

23 days ago

Solved


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

23 days ago

Solved


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

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

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

24 days ago

Answered
For loop checking if number is prime (without using MATLAB functions)
It appears that it has to do with when you set y2. In short, you are only reporting back the y2 value when i=ceil(x2/2).

5 years ago | 0

Solved


Divisible by 9
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

5 years ago

Solved


Divisible by 3
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

5 years ago

Solved


Divisible by 10
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

8 years ago

Solved


Divisible by 5
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

8 years ago

Solved


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

8 years ago

Solved


5 Prime Numbers
Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...

8 years ago

Solved


The Top 5 Primes
This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

8 years ago

Solved


Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

8 years ago

Solved


The Glass Half Full
Identical glasses are placed in a triangular tower structure, such that the top level (L = 1) comprises one glass, the next leve...

8 years ago

Load more