Community Profile

# Andreas Schneider

Last seen: 8 days ago Active since 2015

All

#### Content Feed

View by

How do I cast a superclass object into a subclass object in MATLAB 7.7 (R2008b)?
Is there some nicer code for a newer version of Matlab? (esp. if the objects are matlab.mixin.Copyable)

4 months ago | 0

Solved

Given an input variable x, output a variable y that is 7 greater than x. Example: Input x = 1 Output y is 8 Input ...

6 years ago

Solved

Duplicate a character
Duplicate a character 'n' times. Example 1: str='a' n=5 output='aaaaa' Example 2: str='*' n=3 output='***'

6 years ago

Solved

Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

6 years ago

Solved

Compute total cost
A soda costs 2 dollars. A taco costs 3 dollars. Write a statement that assigns totalCost with the total meal cost given the numb...

6 years ago

Solved

Binary Coder
Take an input number and print the binary value of this number.

6 years ago

Solved

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

6 years ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

6 years ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

6 years 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 years ago