MATLAB is a high-level language and interactive programming environment for numerical computation and visualization developed by MathWorks.
1
vote
1answer
12 views
accessing MATLAB from a different user account
I have MATLAB installed in my home directory on a linux machine which has multiple users. I want to allow one specific user and not all users to be able to run MATLAB from his user login. How can I do ...
0
votes
0answers
14 views
MATLAB object detection
I'm getting the following error when I try to run function m-file?
"Undefined function or method 'estimateGeometricTransform' for input arguments of type 'SURFpoints'.
What is causing this error?
0
votes
1answer
14 views
Feature Selection for identifying important criteria
I am working on credit scoring models and I want to classify the corporates which borrow loan from a bank according to their financial ratios (all of the criteria are quantitative). but before ...
0
votes
0answers
17 views
how to Inverse laplace transform of coth() function
I have a function like this: U = coth(s/100)/(s^3 + a*s + b) and i use ilaplce(U,s,t) to find invers laplace transform, but matlab can not give me the answer.
>> syms t x s
>> U = ...
-1
votes
0answers
17 views
How do i link my excel file to matlab? [closed]
I'm a math and programming noob but I would like to run a matlab program on my excel files.
>> trange = [tstart tend] % <your range in t>
% define all intermediate functions
a = m2^m5;
...
0
votes
1answer
18 views
rearranging a matrix by the greatest values of the raws
I am trying to write a function that accepts four vectors. and the Function "stacks" the vectors on each other to creat a matrix with 4 rows.
the matrix has to be rearranged so that the row with the ...
-11
votes
0answers
57 views
R code an regression variable [duplicate]
we have a problem to code and resolve step by step this statistical problem on R ide
1)Generate n=10 values of a regression variables "X" with uniform distribution in the range D[0,5].
2)
Define a ...
0
votes
1answer
13 views
Parameter passing to function handle
I have a function and I want to each time change its input and integrate over a certain interval. For example, I first write an m file:
function y = myfun(x)
y = 1./(x.^3-2*x-5);
Now I want to ...
0
votes
1answer
19 views
Matlab size of image (x,y)
why when I used size function in Matlab for my image the result was ans = 600 800 but my real image size = (800, 600)?
0
votes
0answers
19 views
Adding function handles in MATLAB
I am doing a molecular dynamics Finite Element Simulation for crack/impurities in materials.
I tried this simpler code which works on command window :
k = [1,2,3,4,5];
c = [1,2,3,4,5];
F{2} = @(x,y) ...
0
votes
0answers
9 views
Multiple Update Rates in a MatLab Gui?
Looking for hints on how to get multiple axes/panes in a MatLab GUI to each update independently. Is it possible? Imagine there is an input stream of live data, and 3-4 processing routines that each ...
1
vote
1answer
21 views
Non-circular shift in Matlab?
Matlab has circshift which shifts matrix circularly, i.e. putting shifted out elements to opposite side.
Is there a function which shifts matrix with copying last values or padding new space with ...
-6
votes
1answer
31 views
Why it is not possible to index result of a function directly in Matlab? [closed]
Suppose I have some function which returns matrix. Let it be size function, but this is just an example.
>> size(lab)
ans =
1998 1999 3
so I can do
>> ...
0
votes
1answer
12 views
scoping on parallel thread in matlab
I have 4 distinct large files I'd like to load into memory simultaneously. The following example is not exactly what I'm doing -- but it illustrates to problem:
matlabpool open local 4
spmd
if ...
0
votes
1answer
17 views
Drawing rectangles with different angles with Psychtoolbox Matlab
I'm drawing 4 rectangles with randomized rotations. They seem randomized in terms of their angels, however I need them to be a little bit different. The rectangles should not be close to each other, ...