Community Profile

# RobF

29 total contributions since 2018

Student @ TU Munich

View details...

Contributions in
View by

App Designer: How to open a second GUI or a new window with panels, lamps, edit fields, etc. by a ButtonPush callback ?
Have you tried to create a button, its callback and modify the callback? You could try fig = figure(); assignin('base',...

2 years ago | 0

Problem with mean function
Two commands that might always help when having path issues are the following: >> restoredefaultpath and >> rehash ...

2 years ago | 1

Solved

Model a simple pendulum
Model a simple pendulum of length 200cm with bob of mass 100g and plot the position in degrees. The pendulum starts at 30 degree...

2 years ago

Solved

Model a falling body
An object is falling freely from a height of 22 meters under the force of gravity. <<http://blogs.mathworks.com/images/seth/c...

2 years ago

Solved

Add damping to a mass spring system
Model an ideal mass-spring-damper system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/im...

2 years ago

Solved

Model a mass spring system
Model an ideal mass-spring system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/images/se...

2 years ago

Solved

Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

2 years ago

Solved

Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

2 years ago

Solved

Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

2 years ago

Solved

Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

2 years ago

Solved

Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

2 years ago

How to give discrete input from workspace to simulink?
Hello Anirudh, it seems like your time vector is empty. To be able to use data from your workspace in Simulink, one soluti...

2 years ago | 0

Solved

Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

2 years ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

2 years ago

How to change structure fields from 1 x Y double to Y x 1 double (Horizontal;1 row,Y columns to Vertical;1 column,Y rows)
Maybe a little change to your code will do the job (just transpose the imported arrays): SP1OCVT00 = struct('Test_time',[ra...

2 years ago | 1

| accepted

How to extract RGB
Extraction of RGB values: C = imread('ngc6543a.jpg'); % Sample image file % Coordinates of point/pixel P1: x1, y1 x1 ...

2 years ago | 0

How to turn off automatic logging of simulation run signals in data inspector in 2017b.

2 years ago | 0

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

2 years ago

Solved

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

2 years ago

Solved

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

2 years ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

2 years ago

Solved

Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

2 years ago

Solved

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

2 years ago

Solved

Given a and b, return the sum a+b in c.

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

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

2 years ago

How can I plot in the same coordinate system this two images that the execution of the two codes below gives?
You might want to delete/comment out the hold off statement and try the following: % circle(1, 2, 3) x=1; y=2; r=3...

2 years ago | 0