Professional Interests: Civil and structural engineering
Top 5% contributor
I would like to plot a line on an axis without changing the XLim and YLim values. I obviously went through the "axis equal" comm...
Asked 8 months ago
I found a work-around: if you cut (or delete) the panel and then *UNDO*, the panel's elements appears at their place. Pay attent...
Answered 8 months ago
Hi everybody, I'm trying to do my first GUI, but I'm having some problems. Excuse me if my question is a bit stupid.
When I c...
Asked 2 years ago
I need to import some datas from a file that is structured as follow:
Time1 (X11 Y11 Z11) (X12 Y12 Z12) ... (X1n ...
Hi everybody, I'm trying to find the absolute minimum of this 3D function [img]http://img23.imageshack.us/img23/6967/funbx.jpg[...
3 years ago
Sometimes I have to write a function ad-hoc for a script purpose. Usually I was simply creating a new .m file containing the fun...
Asked 24 days ago
i have a vector like this
a=[1 2 3 5 6 7 9 10 13 14];
I would like to find where the diff is bigger than a value (le...
Asked 3 months ago
I just installed Matlab on a Linux machine that doesn't have the X server. Therefore I launch matlab using the -nojvm -nod...
Asked 4 months ago
I have a perfectly functioning GUIDE that i would like to duplicate since i need both it and a slightly differen...
I've have a bunch of large files as the following one:
# x 1 2 3 4 ...
# y 5 6 7 8 ...
I'm quite new to MATLAB so excuse me if my question is very simple.
I'm trying to solve a ODE like the following one:
Asked 4 years ago
Is it possible to ask user to select a line during the execution of a GUI?
I would like a popup to appear asking "please sele...
Asked 6 months ago
I have a nested structure like this one:
Asked 10 months ago
I have a long log file made of many blocks like the following one
Time = 19.419
Courant Number mean: 0.112358...
Hi everybody. I'm having a problem with the 2011 version of MATLAB for mac OS X.
I've successfully installed MATLAB, but when...
I'm new with MATLAB so, even if i usually try to solve my problems by my own, this time the problem is far over my ability.
Asked 5 years ago
Find the mean of each consecutive pair of numbers in the input row vector. For example,
x=[1 2 3] ----> y = [1.5 2.5]
1 year ago
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
Triangle numbers are the sums of successive integers. So 6 is a triangle number because
6 = 1 + 2 + 3
which can be displa...
Remove the nth column from input matrix A and return the resulting matrix in output B.
A = [1 2 3; 4 5 6];
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
Given a and b, return the sum a+b in c.
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
Regardless of input, output the string 'yes'.
Given the input n, return true if n is odd or false if n is even.
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
This will do the trick
just for clarification
returns a logical array of th...
Answered 6 months ago
I need to fit some experimental data on the function
I understand this to...
I've a group of points, each with his X,Y,Z coordinates and a P value. These are distributed on a 3D surface (lets think ...
Asked 3 years ago