MSc Aerospace Engineer. My skills about programming languages are C, Fortran, Maple and Matlab.

Professional Interests: Scientific Computing, Programming Languages, Aerospace Engineering

Solved

Determine if input is odd

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

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

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

fast 7 Jahre ago

Solved

radius of a spherical planet

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

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

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

fast 7 Jahre ago

Solved

How to find the position of an element in a vector without using the find function

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

fast 7 Jahre ago

Question

Matrix multiplication (best computational approach)

I have to make a coordinates transformation between two reference systems (axes). For it, three matrices (3x3) have to be multip...

fast 7 Jahre ago | 3 answers | 0

Question

Hide maximize/minimize and close buttons for a figure window

I have a figure window and I want to remove the maximize/minimize and close buttons of it. I can not use any type of Java contai...

etwa 7 Jahre ago | 1 answer | 0

Question

Matlab ResizeFcn callback

I am worried about the look and feel of my GUI designed with Matlab. In concrete, I do not like how the figure window resizing i...

etwa 7 Jahre ago | 3 answers | 0

Question

Absolute and relative tolerance definitions

I am trying to understand the following Matlab definitions for RelTol and AbsTol parameters: RelTol — This tolerance is a m...

etwa 7 Jahre ago | 2 answers | 2

Question

Zooming in and out removing

I am using the rotate3d function to allow 3D rotation of a sphere through the mouse movement. However, when I rotate it, it zoom...

etwa 7 Jahre ago | 3 answers | 0

Question

Marker transparency

I would like to know if there is possible to set the transparency of a line marker to opaque in order to improve my animation: <...

etwa 7 Jahre ago | 1 answer | 0

Question

Animation improvement

I have written a code to create an animation: <http://www.mathworks.com/matlabcentral/answers/24642-invalid-object-handle-error/...

etwa 7 Jahre ago | 1 answer | 0

Answered

Invalid object handle error

Finally, I have found that there was a cla command line, which was the guilty of the error, in the main program before the surfa...

Invalid object handle error

Finally, I have found that there was a cla command line, which was the guilty of the error, in the main program before the surfa...

etwa 7 Jahre ago | 0

Question

Invalid object handle error

I have the following code which is a graphic rendering of the movement of a satellite around the Earth. function ex global ...

etwa 7 Jahre ago | 2 answers | 0

Question

Updating a string inside a callback

The following code is a graphic rendering of the Earth globe spinning eastward. I have two push buttons, Spin and Stop. Both sha...

etwa 7 Jahre ago | 2 answers | 1

Question

Feedback for me

Hi community members. In the last weeks, I have found my questions are not getting answers. This makes me ask myself if perhaps ...

mehr als 7 Jahre ago | 3 answers | 2

Answered

Wish-list for MATLAB Answer sections.

I would like to propose an "achievements" system similar to existing one for other Q&A sites (for example <http://stackoverflo...

Wish-list for MATLAB Answer sections.

I would like to propose an "achievements" system similar to existing one for other Q&A sites (for example <http://stackoverflo...

mehr als 7 Jahre ago | 0

Answered

Multicolumn legend

Here is my solution for a legend which has a 'SouthOutside' location (I have supposed that the axes graphic object has 'normaliz...

Multicolumn legend

Here is my solution for a legend which has a 'SouthOutside' location (I have supposed that the axes graphic object has 'normaliz...

mehr als 7 Jahre ago | 0

Question

Multicolumn legend

I would like to be able to create a legend to have a number of columns given (for default the legend function has an unique colu...

mehr als 7 Jahre ago | 2 answers | 0

Question

FontSize for the image's legend

I have the following code: X = 0:pi/100:0.25*pi; Y1 = sin(X); Y2 = cos(X); Y3 = tan(X); fh = figure('toolba...

mehr als 7 Jahre ago | 2 answers | 0

Question

Excel header title from html code

I have a GUI with an uitable whose header's title (variable "header") uses html code. I want to export the uitable data (include...

mehr als 7 Jahre ago | 1 answer | 0

Question

Html code used along with Matlab

I have recently found that Matlab can use LaTeX character sequences. However, they only can be used by the functions text, title...

mehr als 7 Jahre ago | 2 answers | 0

Question

Automatic choice of graphics format file for print command

I have the following code: X = 0:pi/100:2*pi; Y = sin(X); fh = figure('toolbar','none','menubar','none','Units','characte...

mehr als 7 Jahre ago | 1 answer | 0

Question

Size and resolution from an image saved as a graphic format file

I have the following code to save a plot to a graphics format file. My problem is with the image obtained. If I save the image a...

mehr als 7 Jahre ago | 1 answer | 0

Answered

Please Help in MATLAB .

The trigonometric function sin(x) can be approximated by the infinite series sin(x) = x^1/1! – x^3/3! + x^5/5! – x^7/7! + x^9/9!...

Please Help in MATLAB .

The trigonometric function sin(x) can be approximated by the infinite series sin(x) = x^1/1! – x^3/3! + x^5/5! – x^7/7! + x^9/9!...

mehr als 7 Jahre ago | 0

Question

Save a plot to a graphics format file

I am designed the following GUI where there are an axes. I want to save the plot drawn inside them to a graphics format file. Ho...

mehr als 7 Jahre ago | 2 answers | 0

Question

Export uitable's data to a spreadsheet Excel

I have designed a GUI which has an uitable and a push button which, when is pressed, allows to export the uitable's data to an E...

mehr als 7 Jahre ago | 1 answer | 0