Community Profile

photo

sejo


Active since 2014

Statistics

All
  • Thankful Level 3
  • First Answer
  • Solver

View badges

Content Feed

View by

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

9 years ago

Question


How to update compiled .mat file in standalone?
Hi, i have a gui standalone where i load and save data from/to a .mat file. Loading does work with fallowing code... load(de...

9 years ago | 1 answer | 0

1

answer

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

9 years ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

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

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

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

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

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

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Question


How to set regexp expression for HH:MM dd.mm.yyyy format?
Hy, I have a gui where i want to check the user input dateSTOP for the format. The format should be in this order HH:MM dd.mm.yy...

9 years ago | 3 answers | 1

3

answers

Question


How to workaround the plotyy copyobj error?
Hy, I have the same question like <http://www.mathworks.com/matlabcentral/newsreader/view_thread/71726 this question>. But unfor...

9 years ago | 1 answer | 0

1

answer

Question


How to display progress of fminbnd in Matlab GUI?
How can i display the progress of fminbnd in a Matlab GUI? As this function takes some time to calculate it would be nice to dis...

9 years ago | 1 answer | 0

1

answer

Question


How to remove a plot (if it exists) before replotting? Matlab GUI ButtonDownFcn
Hy, I want to plot a point on mouse-cklick using the ButtonDownFcn. Before it is plotted it should check if there is an existin...

9 years ago | 1 answer | 0

1

answer

Answered
how can i generate this chromosome?
hy, try this: chrom=randi([1,3],1,9)

9 years ago | 0

Question


how to highlight editbox text when press ´return´ using findjobj?
Hy, I want to highlight an editbox text when i press 'return' in an other edit box. I managed to find out that this is only p...

9 years ago | 1 answer | 0

1

answer

Question


time dependent parameter in ode-function matlab
I want to solve an ode with a time dependent parameter. cA sould be 10000 if t is >=10 and <=11 else it should have the value of...

9 years ago | 1 answer | 0

1

answer