c -code
Is it possible to write the C-code into the matlab m-file ...........and save it as an .m file i mean to say by including some header files ,,just like in the dsp we are writing ? ... 26 Oct 2009 08:49
Developing DFIG detailed Model in Simulink
Hi, I am working on Simulink to develop DFIG model. I have already gone through models and demos available in simulink. I need to develop a detailed machine model with all converters. I also want to see if crowbar can be included in that model. Can anyone help me? Cheers Waqar ... 26 Oct 2009 01:17
noise problem - pulse response - ERA
I'm dealing with automobile simulated by two-degree-of-freedom system. After forming continuous-time state-space model, determining the system's highest frequency (~1.5Hz) I set sampling frequency (~6Hz) and determined corresponding discrete-time model. Next I generated pulse response with pulse input. Now I'm suppose ... 25 Oct 2009 22:02
Any way to get around SVD's reordering of basis vectors?
Here's the problem. I have implemented a method from a particular research paper which uses SVD to get an orthonormal basis for a symmetric matrix. MATLAB, however, orders the vectors resulting from SVD according to decreasing magnitude. It's important for my purpose here that the original ordering be maintained, but t... 25 Oct 2009 19:50
Fittype objects and scalar functions
Hi there: I am attempting to fit a set of data to a model specified by a function I have written. In this function, the dependent variable x appears only as the upper limit of integration of a numerical integral performed by dblquad. This function works just fine normally. However, when I attempt to run fittype t... 25 Oct 2009 20:56
Problem using ANFIS
Hello, I am trying to train a set of input output data using anfis. There are two inputs and one output. The output basically is given by the following function:- output = (ln(constant*input1))-(constant*input2) I am using the following commands for training:- fismat = genfis1(trndata, 3, 'trimf'); outfis ... 25 Oct 2009 16:28
how to create a smiley face using matlab that will roll across the screen.
Hi All, Can anyone advise me on how to create a smiley face that will roll across the screen using matlab program? Tks alot for your advise ... 27 Oct 2009 09:11
Function for OLS regression with a dummy variable
Dear All, I want to estimate a simple linear regression (get parameter and error estimates) that includes a dummy variable (say Dv) taking values of 0 and 1, of the following form: y=constant+a*x+f*Dv+errors Note that the variable Dv is predetermined depending on the time that a break occurs (ToB) e.g. Dv(1:T... 1 Nov 2009 07:47
Function for OLS regression with a dummy variable
Dear All, I want to estimate a simple linear regression (get parameter and error estimates) that includes a dummy variable (say Dv) taking values of 0 and 1, of the following form: y=constant+a*x+f*Dv+errors Note that the variable Dv is predetermined depending on the time that a break occurs (ToB) e.g. Dv(1:T... 25 Oct 2009 07:40
coupled 2nd order D.E. using ode45
Hi, I have two coupled 2nd order D.E.'s that I need to put into ode45 and plot. I am having a hard time putting them in state variables. Please help. X1"=-.75*X1-.75*X2 X2"=-3*X1-.5*X2 Thanks. ... 26 Oct 2009 04:29