**Statistics**

**MATLAB Answers**

**12** Questions

**0** Answers

RANK**20,432**

of 295,024

REPUTATION**2**

CONTRIBUTIONS

**12** Questions

**0** Answers

ANSWER ACCEPTANCE **
83.33%
**

VOTES RECEIVED**2**

RANK

of 20,166

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 153,061

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

Matlab Data Acquisition Toolbox Error with NI USB-6002

I am currently trying to use the Matlab Data Acquisition Toolbox with the National Instruments USB-6002. I am using Matlab versi...

9 years ago | 1 answer | 0

### 1

answerQuestion

How do I make a plot background black?

I have two vectors. x=[1 2 3 4 5]; y=[10 20 30 40 50]; I plotted the vectors plot(x,y) The default background of ...

10 years ago | 3 answers | 2

### 3

answersQuestion

Using a for loop for legend plots

I was able to make each point a different color in my plot. I want to do the same thing for the legend. How can I put the legen...

10 years ago | 1 answer | 0

### 1

answerQuestion

Using a for loop and Using fprintf with a mixture of numbers and text in a table

I have the following array: A=[1; 2; 3; 4]; I then make an array B: B=[] I then use a for loop to assign eac...

10 years ago | 1 answer | 0

### 1

answerQuestion

Using fprintf with a mixture of numbers and text in a table

I have the following 2 arrays. A=[1; 2; 3; 4]; B=['green';'blue';'black';'yellow]; I want to use fprintf to to have A a...

10 years ago | 1 answer | 0

### 1

answerQuestion

I need help using the quad function

When using the quad function to integrate, I am getting the error: FUN must be a function, a valid string expression, or an ...

10 years ago | 1 answer | 0

### 1

answerQuestion

Problem using polyfit and syms in a for loop

Here is my code. Z=[3 1]; for i=1:length(Z); syms a x=5*a-Z(:,i) A(i)=solve(x,a); syms b y=3*a+Z(:,i) ...

10 years ago | 0 answers | 0

### 0

answersQuestion

Problems using polyfit in a for loop

I am getting an error when I try to run this polyfit. I think the problem is the values I am putting for xfit1 in the polyfit fo...

10 years ago | 1 answer | 0

### 1

answerQuestion

Changing Colors in a Plot Using a For Loop

Here is my code. Z=[3 1 7]; for i=1:length(Z); A(i)=Z(i)+2 B(i)=Z(i)-7 C(i)=Z(i)+4 col=[...

10 years ago | 1 answer | 0

### 1

answerQuestion

Concatenate Three Row Vectors into an Array in a For Loop

What is wrong with my code? Z=[3 8 2 4]; N=length(z); A(i)=5*Z(i); for i=1:N B(i)=A(i); C(i)...

10 years ago | 1 answer | 0

### 1

answerQuestion

Making Multiple Plots Using a For Loop

I have the matrix A A=[1 5 7 8; 4 3 2 3; 5 8 7 1] For all of the plots, the x axis range is x=[1 2 3 4] I need to have ...

10 years ago | 1 answer | 0

### 1

answerQuestion

Creating a column vector for each variable in a for loop?

Here is my code: D=[1 4 7 5]; for i=1:length(D) A=D(1,i) B=A+3 C=B-5 end How do I cr...

10 years ago | 1 answer | 0