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

environ 5 ans 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...

plus de 5 ans 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...

presque 6 ans 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 ...

environ 7 ans 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...

environ 7 ans 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...

environ 7 ans 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!

plus de 7 ans 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...

plus de 7 ans 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 ...

plus de 7 ans ago

Solved

radius of a spherical planet

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

plus de 7 ans 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...

plus de 7 ans 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...

plus de 7 ans 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 ...

plus de 7 ans 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 ...

plus de 7 ans 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...

plus de 7 ans ago

Solved

Determine if input is odd

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

plus de 7 ans 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?

plus de 7 ans 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 ...

plus de 7 ans 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 ...

plus de 7 ans 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...

plus de 7 ans 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...

plus de 7 ans 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? :(

plus de 7 ans 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...

plus de 7 ans 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 ...

plus de 7 ans 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...

plus de 7 ans 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.

plus de 7 ans 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...

plus de 7 ans ago | 1 answer | 0