matlab-toolbox

matlab 2009 creating symbol

how can i create symbolic variables in matlab 2009? because it doesn't work for "sym" o "syms" command. ...

matlab neural network coding

how i can classify pnn for feature extraction? ...

modem.oqpsk with half sine wave

hi i was using the following h = modem.oqpskmod; but it constructs it with default settings, i wanted to model zigbee one which is oqpsk with half sine waves... how could i do it? thanks a lot! ...

modem.oqpskmod -> modem.oqpskdemod not same result

hi, i am trying to simulate the IEEE 802.15.4/ZigBEE PHY,... chip_values = [ 1,1,0,1,1,0,0,1,1,1,0,0,0,0,1,1,0,1,0,1,0,0,1,0,0,0,1,0,1,1,1,0; 1,1,1,0,1,1,0,1,1,0,0,1,1,1,0,0,0,0,1,1,0,1,0,1,0,0,1,0,0,0,1,0; 0,0,1,0,1,1,1,0,1,1,0,1,1,0,0,1,1,1,0,0,0,0,1,1,0,1,0,1,0,0,1,0; 0,0,1,0,0,0,1,0,1,1,1,0,1,1,0,1,1,0,0,1,1,1,0,0,0,0...

How do you open .txt file containing matrix in Matlab?

Hey guys, I am currently working on the project and have a difficulty to open .txt file in Matlab. This .txt file contains rainfall radar data in matrix (numbers) form, [m,n] = [360,90]. Below is the data I am having troble with.** ....................................................................................... Projection Metad...

Using matlab and Time Series object (fints), how can I make an array of them?

I am getting stock prices from yahoo, and want to have each stock have its own time series data structure, but also don't want to have hundreds of variables, so naturally I would want to have an array, but when I do something like array = [stock1 stock2]; it actually merges the series together. How can I make a real array? Thanks, CP ...

demodulation of DSB SC amplitude modulation without using amdemod

hi i was trying to implement the amdemod given in matlab without using this function, i am not getting the answer close to the amswer given by the function. can u please let me know , wwhere is the problem. The code i tried are as follows: Fs = 8000; % Sampling rate is 8000 samples per second. Fc = 300; % Carrier frequency in Hz t = [0:...

"Snap an image" in MATLAB

Does MATLAB have a function that will "snap an image" or move an image to some predefined location if within a certain area? ...

how to make Sliding window model for data stream mining?

we have a situation that a stream (data from sensor or click stream data at server) is coming with sliding window algorithm we have to store the last (say) 500 samples of data in memory. These samples are then used to create histograms, aggregations & capture information about anomalies in the input data stream. please tell me how to ma...

Using matlab, why does something like fts.data work in one directory but not another?

I am working with the finacial tooldbox that has a type called FINTS, If I copy some code out of its toolbox directory to customize it, when I try do do something like fts.data, I get The specified field, 'data', does not exist in the object. But the same thing works fine in the matlab library directory. They are both in my path, so wh...

Using Matlab to interface with sensors

Im currently an E.E. under grad. and i was curious about matlab, I am now on break and i want to take my matlab a step beyond what i know (which is beginner to intermediate). For an example, i heard about a student doing a project that involved matlab controlling sensors to detect sunlight (solar panel related) and I am not sure how he d...

Data Acquisition Toolbox for Matlab?

Has anyone here used the Matlab Data Acquisition Toolbox before? I've been spending a ton of time reading up on National Instruments products and their capabilities when used with Labview. However, Labview and NI hardware is pretty much the only thing I've looked at and I'm curious as to what is out there that competes with labview i...

How to install toolbox for MATLAB

I am just wondering, if I need a toolbox which not available in my MATLAB, how do I do that? For example: if I need image processing toolbox, how do I get it? ...

neural network using matlab

I have a training set that has input and outupts in this way: Input: 0.832 64.643 0.818 78.843 1.776 45.049 0.597 88.302 1.412 63.458 1.468 49.535 1.985 33.387 2.073 30.279 1.431 55.231 1.116 68.521 1.617 44.362 2.159 66.512 Output: 0 0 1 0 0 1 0 1 0 0 0 1 0 0 1 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 0 0 1 0 0 1 0 I need...

Determine center of bins when using meshm

I am using meshm to plot densities. How do I calculate the center point for each of the bins? I want to associate the data in m with the centerpoints I have looked at the source code of meshm and believe the solution will be a modified version of meshm that returns the latitude and longitudes of each bin's center point. meshm calls th...

How to find the mean square error in matlab

Is there a way to find the mean square error in matlab between 2 images A,B(say) in true color of dimension 256*256*3 ? The mathematical formula for a matrix say M1 and M2 is as under mean sq err=1/n*n { summation (square[M1(i,j)-M2(i,j)])} where i stands for row and j stands for column ...

Recombining two halves of an image in MATLAB

Hi. There is this assignment in which the first part involves dividing 3 images(RGB) A,B,C equally into A1,A2 ;B1,B2; C1,C2 Then we have to use (a) bitxor and (b)circular shift operation.The rule for bitxor is A1 bitxor B1 and A2 bitxor C2 and similarly for circular shift. Then merge the two results to obtain a mixed image. The last par...

Matlab: Find range of x, given a set of inequalities

I have a set of inequalities ( the mathematical question is expressed at math.stackexchange), and I am looking at the appropriate matlab toolbox that can do it. Is there a toolbox in Matlab that finds the range of x, given that y(x) is subjected to an inequality? But since I'm not exactly sure what is the name of this problem, therefor...

Alpine function and surface plot

Hi. Is there an inbuilt / m file in Matlab to obtain the highly fluctuatiing and multiple peaks of the plot of an alpine function? I want to obtain a similar figure in 3D which is and The formula (probably) is z=sin(x1)sin(x2)\sqrt{x1x2} ...

Is there any working toolbox to simulate Sensor networks accurately in Matlab?

Is there any way that I can simulate sensor networks in Matlab? Currently, I am coding it all the way, i.e. assigning all the properties to a sensor node in a pretty crude way using structures. A toolbox, if any would do the model some justice. Otherwise, the current simulation does not feel right. ...