Question

Question about 2 output optimization

Hi guys! I'm struggling to formulate a typical optimization problem into something than can be solved by MATLAB and was hopin...

6 years ago | 1 answer | 0

Question

Getting wrong results with fft

Hi guys! I just can't get my head around fft function in MATLAB. I have a set of variable-step data and variable-step time ob...

7 years ago | 1 answer | 0

Question

Animating the SIMULINK model

Hi guys! I am working on a project and accidentally came across this video, where the person animates his quarter vehicle sus...

7 years ago | 2 answers | 0

Question

Having a slight problem with Newton-Raphson loop. No errors in command window..

Hi everybody! First, thank you very much for answering my previous question about the anonymous functions. *The new issue ...

8 years ago | 2 answers | 0

Question

Possible to use anonymous function as script function input?

Hey everyone! I was wondering if there is any method to allow anonymous function to be used as an input. For example: I ha...

8 years ago | 3 answers | 0

Question

Newton-Raphson method to solve equations.

Hi guys! I'm trying to write a function that would allow me to use numerical methods (Newton-Raphson method) to solve equatio...

8 years ago | 1 answer | 0

Answered

Having a problem building a graph in a GUI. No errors in com. window

Figured it out, forgot to add str2doubl after getting the value from the listbox. Sorry!

Having a problem building a graph in a GUI. No errors in com. window

Figured it out, forgot to add str2doubl after getting the value from the listbox. Sorry!

9 years ago | 0

| accepted

Question

Having a problem building a graph in a GUI. No errors in com. window

Hi Guys! Here's the deal: I'm trying to build a gui that processes excel data and builds a graph from it. I need to be able t...

9 years ago | 2 answers | 0

Solved

Bottles of beer

Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

9 years ago

Solved

radius of a spherical planet

you just measured its surface area, that is the input.

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

Weighted average

Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

9 years ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

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

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

Determine if input is odd

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

9 years ago

Answered

Need a bit help with getting values from gui listbox

It still takes all 3 values from the listBox. How can I make it take onl the selected one?

Need a bit help with getting values from gui listbox

It still takes all 3 values from the listBox. How can I make it take onl the selected one?

9 years ago | 0

Question

Need a bit help with getting values from gui listbox

Hi guys! I have a gui witha listbox with 3 values in it (0.01, 0.1 & 1).I need my gui to use numerical value selected in the ...

9 years ago | 2 answers | 0

Answered

How to only print GUI graph with GUIDE toolbar

After doing a bit more searching it appears that you cannot just print from the axes. The only possible way to print is to copy ...

How to only print GUI graph with GUIDE toolbar

After doing a bit more searching it appears that you cannot just print from the axes. The only possible way to print is to copy ...

9 years ago | 0

Question

How to only print GUI graph with GUIDE toolbar

Hi guys! I have added a toolbar for my GUI ( that has some data and a graph). I added save, print and data cursor tools to it...

9 years ago | 1 answer | 0

Answered

Program does 5 calculations instead of one.

Allright guys! I'm really sorry for making the whole thing really confusing. I treid Jan's suggestion on Friday and it did not w...

Program does 5 calculations instead of one.

Allright guys! I'm really sorry for making the whole thing really confusing. I treid Jan's suggestion on Friday and it did not w...

9 years ago | 0

Answered

Program does 5 calculations instead of one.

Still can't figure it out. Anyone? :(

Program does 5 calculations instead of one.

Still can't figure it out. Anyone? :(

9 years ago | 0

Question

Program does 5 calculations instead of one.

Hi Guys! I have written a simple script, that's supposed to do some loop calculations. Here's the script: a=3; initialVelo...

9 years ago | 4 answers | 0

Answered

How to create a loop calcualtion?

Thanks a lot fellas! I really don't know which question to mark up, as all of them seem to use the more or less same method, so ...

How to create a loop calcualtion?

Thanks a lot fellas! I really don't know which question to mark up, as all of them seem to use the more or less same method, so ...

9 years ago | 0

Question

How to create a loop calcualtion?

Hi Guys! I am writing a GUI that processes some excel data and got to a point, where I need it to do some loop calculation. How...

9 years ago | 4 answers | 0

Answered

Installer won't see the Compliler toolbox

For future references, the problem was with the license. Once you activate it through the matlab homepage everything works.

Installer won't see the Compliler toolbox

For future references, the problem was with the license. Once you activate it through the matlab homepage everything works.

9 years ago | 0

| accepted

Question

Having trouble compiling uigetfile function

Hello everyone! I created a GUI that has a feature to import and get data from an Excel file. To do that i used uigetfile funct...

9 years ago | 1 answer | 0