singular matrix
i have a 4x22 matrix. how can i understand if it's singular? i tried, "inv" and "det" but the error says that my "matrix is not square" so how can i find out the singularity? thank you. ... 24 Feb 2010 03:08
Subclassing modem class
Hi, I want to create my own class modem.myModFormat to inherit modem modulator properties. I tried to follow Matlab's help on subclassing but can't get this to work. My code looks like: classdef myModFormat < modem methods function obj = myModFormat(data) obj = obj(a)modem(data); % initi... 24 Feb 2010 17:42
World Ocean Database
Does anyone have a utility to read World Ocean Database files directly into matlab? http://www.nodc.noaa.gov/OC5/WOD09/readwod09.html Thanks ... 23 Feb 2010 18:12
How to draw arcs and lines on a worldmap?
I just started using Matlab yesterday for the first time in my life and am just getting a feel a of its tremendous capabilities. My academic project is to construct a trajectory for a set of waypoints. What I started with is as follows; worldmap world [lat, lon] = ginput(7) plot(lat,lon) So this plots the lines (... 25 Feb 2010 10:15
How to execute these VBA/EXCEL code from within Matlab?
Hi folks, Could you please help me see how to translate the following VBA/EXXCEL code into Matlab? Thanks! ------------------------------------------------ Public Sub DoDDE() Dim lChannel As Long lChannel = DDEInitiate("winblp", "bbk") DDEExecute lChannel, "<BLP-0><CANCEL>" DDEExecute lChannel, "<B... 24 Feb 2010 09:43
Comparing Arrays of different size
Hello All, I am newbie to Matlab, and need to sort my experimental data which is in four columns 0.005 0 0.02 0 0.01 0 0.04 -0.035137518 0.015 -0.002606174 0.06 -0.109273331 0.02 -0.00986774 0.08 -0.113182424 0.025 -0.020962419 0.1 -0.157273328 0.03 -... 24 Feb 2010 17:42
Simulation in simulink
I'm currently trying to do a simulation of a PUMA 560 robot in simulink. I'm trying to do it using computed torque control. Problem is that when I compile my simulation the error message I get is as follows: Warning: The model 'motormodel' does not have continuous states, hence Simulink is using the solver 'Variab... 23 Feb 2010 20:29
Efficiently updating a member of a cell array
Hello, In my code I have a cell array EofGgivenXjU which is a set of vectors. For example, EofGgivenXjU{1} is a 1x m vector, EofGgivenXjU{2} is a 1xn vector, etc. What I would like to do is update a specific position of that vector. For example, lets say that EofGgivenXjU{1}=[0,0,0,0], I would like to then make it ... 24 Feb 2010 21:05
Time varying filter in Matlab (not simulink)
I see that simulink has a way to implement filters where the coefficients change on a per sample basis. Is there an equivalent thing in regular matlab? I could make it myself but it might be painfully slow if I had to implement nearly every multiply in an m-file. ... 23 Feb 2010 17:02
timer function data within GUI
I have implemented a timer within a GUI, and I want it to use its own output. If I store function output in a GUI display field, I can retrieve the updated value. If I store function output as a variable in the handles structure, each timer iteration sees only the original value. Fine for one variable, but I want to... 23 Feb 2010 17:02