Needs help

Question

How do I create this scatter plot?

Hi guys, I have a really big matrix and I am trying to create a scatter plot out of two parameters. However, I want to make t c...

7 years ago | 1 answer | 0

Question

How to I plot this?

Hello, I have a matrix, X, in which I want to plot it using the kmeans function. What I would like: If row has a value of 1 i...

8 years ago | 1 answer | 0

Question

How to get rid of this error?

I am trying to connect to a function generator and here is my code: tmtool >> g=gpib('ni',0,11); >> fopen(g); >> f=fgen...

8 years ago | 0 answers | 0

Question

How do I add a column to a matrix with specific values?

If I have a matrix like so: 1 2 3 4 5 2 6 7 3 6 5 7 How can I add a third column with a value of one for eve...

8 years ago | 2 answers | 0

Question

How to get Fuzzy C-Means working?

Hello, I have the following code and my graph is entirely blue and sometimes it's just blank because the "iteration count" come...

8 years ago | 0 answers | 0

Answered

How do I add a column to a matrix with specific values?

Never mind, I found out that this is the syntax: mydata (mydata (:,2) == 2,4) = 1;

How do I add a column to a matrix with specific values?

Never mind, I found out that this is the syntax: mydata (mydata (:,2) == 2,4) = 1;

8 years ago | 0

| accepted

Answered

Tektronix oscilloscope TDS 3032C matlab driver

You can also create one using the NI Measurement and Automation Explorer.

Tektronix oscilloscope TDS 3032C matlab driver

You can also create one using the NI Measurement and Automation Explorer.

8 years ago | 0

Answered

How do I connect to a function generator?

Create a driver, if it is not recognized on MATLAB...try switching the version.

How do I connect to a function generator?

Create a driver, if it is not recognized on MATLAB...try switching the version.

8 years ago | 0

| accepted

Answered

How to K-means Cluster?

The reason why the code was not working was the way I plotted it. Come on guys.

How to K-means Cluster?

The reason why the code was not working was the way I plotted it. Come on guys.

8 years ago | 0

| accepted

Answered

How to connect to a function generator?

Use the command connect(f) when f is the variable indicating fgen.

How to connect to a function generator?

Use the command connect(f) when f is the variable indicating fgen.

8 years ago | 0

| accepted

Answered

How can I add multiple single-ended analog input channels on MATLAB?

I got it. You use the single-ended command with multiple channels in brackets.

How can I add multiple single-ended analog input channels on MATLAB?

I got it. You use the single-ended command with multiple channels in brackets.

8 years ago | 0

| accepted

Answered

Are there any built in commands for digital output for NI USB 6009?

s.addDigitalChannel('Dev1','port0/line2','Bidirectional');

Are there any built in commands for digital output for NI USB 6009?

s.addDigitalChannel('Dev1','port0/line2','Bidirectional');

8 years ago | 0

| accepted

Answered

Tektronix oscilloscope TDS 3032C matlab driver

They are all on the Tektronix website

Tektronix oscilloscope TDS 3032C matlab driver

They are all on the Tektronix website

8 years ago | 0

Question

Are there any built in commands for digital output for NI USB 6009?

Hi, There are ways of adding analog input and output channels on MATLAB, but i did not find anything regarding the digital sign...

8 years ago | 1 answer | 0

Question

Anyone an expert in K-means clustering?

I have a really large matrix and I have two different classes with many different parameters involved. When I try to use K-means...

8 years ago | 1 answer | 0

Question

How do I connect to a function generator?

I have seen all the code online, and here is what my code looks like (and yes I have Instruments Control Toolbox.) Has anyone el...

8 years ago | 1 answer | 0

Question

Do I need to create a GPIB object before connecting to a function generator?

Hi, I am trying to connect to a function generator via GPIB cable but when I try to click "connect" on the function generator i...

8 years ago | 1 answer | 0

Question

How to K-means Cluster?

Hi, I have a 732x29 matrix and I would like to cluster the data using kmeasn clustering. The matrix has two clusters (2 classes)...

8 years ago | 1 answer | 0

Question

How to connect to a function generator?

Hi guys, I am using a GPIB cable to connect to a function generator and I am aware of all the articles out there that explain h...

8 years ago | 1 answer | 0

Question

How can I add multiple single-ended analog input channels on MATLAB?

Hi guys, I have a national instruments NI USB-6009 device connected to the computer and I trying to import 3 single-ended input...

8 years ago | 1 answer | 0

Question

How do I even open the Instrument Control Toolbox?

Can I open it through MATLAB? It isn't there when I look for it on my Windows 7 START menu; does that mean I don't have it on my...

8 years ago | 3 answers | 0

Question

Is it possible to combine strings and variables in a matrix?

I have a matrix A and A= [x y]. X and y are both defined by constants: 3 and 4, respectively. Now, how do I make it so that ...

8 years ago | 2 answers | 0

Question

How do I get rid of this error on MATLAB?

My error: >>daq.getDevices Maximum recursion limit of 1 reached. Use set(0,'RecursionLimit',N) to change the limit. ...

8 years ago | 1 answer | 0

Question

Do I need the Instrument Control Toolbox if I am connecting MATLAB to a National Instruments device that is connected to a function generator?

If not, why might my code not be working? I am trying to plot voltage versus time for the device that is connected to the fun...

8 years ago | 1 answer | 0

Question

How do I plot this on Matlab?

I have variables such as amplitude, scew, maximum slope, etc. There are over a thousand objects with each of these variables. Ho...

8 years ago | 1 answer | 0