Question

Potential error in documentation for function tsearchn

Howdy, the tsearchn function says that the argument TRI must be a triangulation from delaunayTriangulation. However, the tri...

1 year ago | 1 Answers | 0

Submitted

ntimes

Multiplies arrays of 2D matrices in an efficient manner.

3 years ago | 1 downloads |

Posted

SimEvents systems requirements

Hi All, I have Matlab Version 7.10 and Simulink version 7.5. I want to get SimEvents and Stateflow. Are they compatible with ...

5 years ago | 1244 views

Responded

Re: Voronoi function failing in R2006b

Excellent! You were right, I had an library called SAGA installed, and it over-rode my Matlab function. Thanks, MIKE

5 years ago | 1428 views

Posted

Voronoi function failing in R2006b

I'm trying to use the voronoi function in R2006b, but it's failing, even though I'm copying and pasting from the example code in...

5 years ago | 1428 views

Responded

Re: Optimization using fmincon & simulated annealing and its error

If fmincon is returning the same value as the starting value, then the starting value is outside of the feasible region that is ...

6 years ago | 2412 views

Responded

Re: How to change file permission in Matlab in Windows?

Hm...sorry, I've never come across that before. But a quick google search yielded this: http://www.cyberciti.biz/tips/windows-...

6 years ago | 11159 views

Responded

Re: fmincon with analytic gradient failing

The constraints are given by a nonlinear function. If I understand quadprog properly, the constraints must be linear? MIKE

6 years ago | 2100 views

Responded

Re: fmincon with analytic gradient failing

Yes, you're absolutely right. Turns out I had just named some variables wrong. Thanks. The new objective function is: %The f...

6 years ago | 2100 views

Responded

Re: How to change file permission in Matlab in Windows?

I'm not 100% sure what you're asking here, but if I understand it correctly, this is the problem: you are in a folder with some ...

6 years ago | 11159 views

Posted

fmincon with analytic gradient failing

Hi all, I'm trying to get fmincon to do a simple optimization problem with a gradient that I'm supplying. My objective functio...

6 years ago | 2100 views

Posted

Neural Net training batch sizes

I have an input vector M and a target vector N that I am using to train a multilayer neural network using the "train" function. ...

6 years ago | 2807 views

Posted

Retrieving graphics from AxisCanvas Object

I'm experimenting with trying to obtain the graphics from the axis canvas object and painting its contents into another java swi...

6 years ago | 2650 views

Posted

what does "$" do?

Just out of curiosity, the character "$" appears in red in a matlab window, indicating it's a special character. What does it d...

6 years ago | 6209 views

Posted

Using Signal processing blockset with RTW

I'm running simulink 7 (R2007b). I want to use the buffer block of the SP blockset in a real-time simulation. However, the RTW...

7 years ago | 1402 views

Posted

Obtaining the frequency components from simulink

I'm running a simulation in simulink using the signal processing blockset. I'm passing the output of a transfer function throug...

7 years ago | 1220 views

Submitted

vecInsert.m

vecInsert(elemToInsert,position,vecIn) Insert elements into a vector at given positions

8 years ago | 1 downloads |

Posted

Simulink stops collecting data

There is probably an option that I just haven't clicked yet, but: I'm running a simulink program that reads an encoder and acce...

8 years ago | 650 views

Posted

MatLab in a Real Time Control System

Can I use MatLab to operate a real time control system? Most importantly, we need a real time system to acquire data from an ex...

8 years ago | 968 views

Posted

Engine not sending the correct data

I am trying to send an array of doubles from a C program into a matlab function via the matlab engine. No matter what I send ...

8 years ago | 2411 views

Responded

Re: FFT acting strangely...

Ah, sorry. Fs = 1000; I discovered my problem: it was one of aliasing. I had mistyped the example data. But I came upon anot...

9 years ago | 856 views

Posted

FFT acting strangely...

I am trying to perform an FFT on some data. My data is: times = [1:1000]; accelArray = 0.7*sin(50*times); Then I do: fftAcce...

9 years ago | 856 views

Posted

Linker problems while calling MatLab through C

Hi everyone, I'm trying to compile the engwindemo.c that comes with MatLab to figure out how to use the engine. However, whene...

9 years ago | 615 views

Posted

Using MatLab in C/C++

Is it possible to call MatLab or a MatLab function in C or C++? If so, where can I find info on how to do that? Mike

9 years ago | 601 views