Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

SEARCH Advanced Search


Popular Tags: ... >> See all tags

View All: Most Recent | Most Active | Needing Replies

  View Subject Only
Duration: All Time | Last Year | Last 30 Days | Last 7 Days 1-25 of 435 || Next >> 
Message View


I have following integral:
integral = | f(x) dx
x: is complex => x=Real(x) +j Imag(x)
f(x) = x*besselj(0,x)/sqrt(ep*k^2 - x^2);
k = linspace(0.1,10,100)
ep = 16-1j*0.1
NOW my PRO >> more

Original post by ghasem
Last post by Bruno Luong - 17 Sep 2014 - 15 replies


Hi guys I am attempting to model a very simple fuel tank with a pump taking fuel out at a constant rate in Simscape with custom components. The volume in each tank is calculated at each time step with a table lookup of height volume tables which are taken >> more

Original post by James
Last post by James - 17 Sep 2014


I wolud like to use Stateflow for creating a flowchart programm. What
I need is to integrate C-Code into a chart like:

If(Counter != 12)
  Counter = 1;
  Counter = 2;

But stateflow did not accept the else command.
What can I d >> more

Original post by Holger Niebaum
Last post by Fabian - 17 Sep 2014 - 3 replies



I have a MEX file I have compiled myself (apparently sucessfully), which I'm trying to call from an M file compiled with MCC. When the compiled M file reaches the call for the MEX file I get an error stating that it cannot find >> more

Original post by Rob Campbell
Last post by Rob Campbell - 17 Sep 2014 - 6 replies


Hi experts,

assume I have a vector w=[w1,w2,w3,w4,...wn]. Now I want to generate a second vector v with an alternate sequence of w1 ones, w2 zeros, w3 ones, w4 zeros, etc.
Let me do an example:
w=[2 4 2 6 1];
Then my second vector v should look like this >> more

Original post by Mario
Last post by Bruno Luong - 17 Sep 2014 - 2 replies



I've a vector meanfield size 360x480.I want to do difference approximation using command diff. When operate using this command, the output size become 359x480.
So, I'm unable to proceed next operation since the size of the vector has been changed. Is >> more

Original post by nur
Last post by Torsten - 17 Sep 2014 - 1 reply


Dear matlab friends,

Wishes to all.

I have 247 data of one input vector and one target vector. this data
can be categorized as train,validation and test ratio (60%,20%and 20%)

Number of neuron used in hidden layer is 4.
Divid >> more

Original post by Murugan Solaiyappan
Last post by Greg Heath - 17 Sep 2014 - 8 replies


I have to graph y=sin(x)/x from the interval -30 to 30 and it just will not let me use this equation because it is not defined. Does anyone know what to do?!

Original post by Stephanie
Last post by Bruno Luong - 17 Sep 2014 - 3 replies


in the icc a output device profile has founr
possible rendering intents, I think

1) absolute colorimteric, measurement only basically

2) relative colorimetric, an attempt at a general appearance model
based on white point translat >> more

Original post by Dale
Last post by Dale - 17 Sep 2014 - 1 reply


I'm talking in terms of the icc,
but it could apply to any device independent color system

if you talk about "color" matching, it seems to me that absolute
colormetry should be the correct approach, this is simply measured and
a sim >> more

Original post by Dale
Last post by Dale - 17 Sep 2014 - 1 reply


I`m mechanical engenieering student from colombia,i work in Wind
Model simulation.
i need your help to known about "kaimal filter" used in several

thank for your attention.

Original post by Dario Prada
Last post by ali - 16 Sep 2014 - 3 replies


I would like to know if there is any difference between Wrcoef vs (detcoef & appcoef) for 1-D signal only.

I can generate both detailed and approximate coefficient using 'Wrcoef' function. I can also use detcoef for detailed & appcoef for approximate co >> more

Original post by coold
Last post by coold - 16 Sep 2014


Hi Guys,

I have a dataset on which I am running unique on one column, the result comes with the header (VarName). I just want the unique entries not the header name ( I have to iterate through for loop with these unique values).
Here is the example
>> >> more

Original post by Satyanarayan rao
Last post by Peter Perkins - 16 Sep 2014 - 2 replies


Hey guys,

I am trying to use the fastinsert command because the insert
command is painfully slow. For some reason though, I get an
error when trying to use the fastinsert:

"??? No method 'setInt' with matching signature found for
class 'sun.jdbc.odbc.Jd >> more

Original post by Daniel
Last post by Brad Stiritz - 16 Sep 2014 - 5 replies


I can't seem to find a straightforward example on using the "publish" function when it's a function being published that takes input arguments.

For example, I have the function z = myfunk(x,y)

The simple publish command >> publish('myfunk','doc') >> more

Original post by Jim Rockford
Last post by Nicolas Cottaris - 16 Sep 2014 - 7 replies


Dear matlab friends,
I want to predict one step ahead closing stock index prediction using various neural network architecture.

% Load the Closing stock index Data
Size of input data: 1 x 251
Size of target data: 1 x 251
% Preprocessing the input and >> more

Original post by Murugan Solaiyappan
Last post by Greg Heath - 16 Sep 2014 - 1 reply


I want to find rows in cellarray of strings.
find the row {'hasnat','ali','qwe'}
in { 'asd','ret','ertt;'
             'ppp','eee','aaa' ;

the answer is row numb >> more

Original post by Muhammad Hasnat
Last post by Bruno Luong - 16 Sep 2014 - 3 replies


Hi all,

I want to create an even-triggered timer in Simulink. More
specifically what I want to achieve is this:
-Suppose a square-wave is the input to represent ON/OFF states (take
for example 2 sec ON and 2 sec OFF with a period of 4 sec).
-For OFF stat >> more

Original post by Celal Tufekci
Last post by Tim Campbell - 16 Sep 2014 - 4 replies



I have a problem with Simulink giving me the following error message:

Derivative of state '1' in block 'Subsystem/Integrator3' at time 7.0000000000000007E-5 is not finite. The simulation will be stopped. There may be a singularity in the solution. >> more

Original post by ZackFF7
Last post by ZackFF7 - 16 Sep 2014



I opened editor, clicked on "new", then a new unsaved blank .m file popped out, I composed a new .m file by entering code into this blank file, then I clicked on save, and entered the file name and location I wanted to save, then clicked OK. But the >> more

Original post by You Zou
Last post by Martin - 16 Sep 2014 - 14 replies


i am doing my project in hyperspectral image classification can anyone give me the steps and codings for my project as fast as possible. pls help me.

Original post by abinaya
Last post by Steven Lord - 16 Sep 2014 - 1 reply



i want to draw MATLAB GUI using real time data and image. I use Microsoft Kinect for skeleton tracking. So that i want to feed real time data into GUI. Please give me example for data feed in table MATLAB GUI.


Original post by
Last post by Steven Lord - 16 Sep 2014 - 2 replies


I think I found a bug in lscov, which is relevant when using weights.
In the description of lscov one can find:

"x = lscov(A,b,w), where w is a vector length m of real positive weights, returns the weighted least squares solution to the linear system A*x >> more

Original post by Matthias
Last post by Matthias - 16 Sep 2014 - 2 replies


Hello guy, i facing a problem which i need to display a text " Total number of Face detect = 'number' ". I been doing lot of research but unable to get a answer of it. hopefully able to get help from u all and giving me a chance to learn. Thank Alots!
Bel >> more

Original post by yue
Last post by yue - 16 Sep 2014


Suppose I have two arrays of dimensions (N,3,3). For each value of the first index, I would like to matrix-multiply the two 3-by-3 matrices spanned by the second and third indices in the two arrays. I'd like to get another N-by-3-by-3 array as the result. >> more

Original post by Bruce Elliott
Last post by Bruce Elliott - 16 Sep 2014 - 2 replies

Post A New Message 1-25 of 435 || Next >> 
rssMost Recent Posts Feed

Contact us