# Villanova

### Villanova University

Hi. I am a new Matlab user. New to programming as well.

**Statistics**

RANK**7 250**

of 273 216

REPUTATION**5**

CONTRIBUTIONS

**15** Questions

**3** Answers

ANSWER ACCEPTANCE **
86.67%
**

VOTES RECEIVED**5**

RANK

of 18 448

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 122 618

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

**Content Feed**

Question

Error about A(I) = B?

Hi. I was wondering why I get this error ??? In an assignment A(I) = B, the number of elements in B and I must be the s...

nästan 9 år ago | 0 answers | 0

### 0

answersQuestion

Variable not showing up in workspace.

How come [x(i) y(i) theta(i)] does not show up in the workspace when I run this code. clear all; clc; close all; ...

nästan 9 år ago | 1 answer | 0

### 1

answerMasking 3 dead pixels on a camera

Thank you for your help Image Analyst. You were right; those values were row-column values. What I ened up doing was to creat ro...

nästan 9 år ago | 0

Question

Masking 3 dead pixels on a camera

Hello. I am working on a robotic project with a camera to capture images of blue,red,green LEDs. Apparently, the camera has 3 de...

nästan 9 år ago | 3 answers | 0

### 3

answersQuestion

problem with For loop

Hi, i have written this code, but not sure why I don't get anything in my plot. I was wondering if someone could point out what ...

mer än 10 år ago | 1 answer | 0

### 1

answerQuestion

problem with rotation matrix

Hi, I have this U shape which is in this code. I was wondering how I could rotate it using 2-D rotation matrix. theta = pi/...

mer än 10 år ago | 1 answer | 0

### 1

answererror with optimisation

hi the if was ok i believe. the only thing wrong seemed to be &&. So I didn't change much: this is the new one: function...

nästan 11 år ago | 0

error with optimisation

I also have this error :( Undefined function or variable "Err_1". Error in ==> toric_opt_obj at 36 Err = Err_1^2 + E...

nästan 11 år ago | 0

Question

error with optimisation

Hi, I was looking to do optimization for this <http://4.bp.blogspot.com/-WSb8BrAmc9w/T5Hy2QaXJqI/AAAAAAAAAac/ZwDB5y19jAs/s1600/t...

nästan 11 år ago | 3 answers | 0

### 3

answersQuestion

Using Figure

I remember there was a command to plot multiple graphs on seperate plots. Does anyone know how you do that: figure(1) plot...

ungefär 11 år ago | 2 answers | 1

### 2

answersQuestion

ode45

I am trying to use ODE45. I am just wondering why my plots are just constant lines. Is it possible if anyone could kindly help m...

ungefär 11 år ago | 1 answer | 0

### 1

answerQuestion

Just a simple math problem

Hi. I want to solve a equation in matlab, and wrote the attached file. but it has an error! Thank you. % marcov chain ...

ungefär 11 år ago | 1 answer | 0

### 1

answerQuestion

problem with error bar

Hi. I want to use errorbar(x,y,std) to get the error bar. I was wondering if x and y are vectors with 10 data point each. how do...

mer än 11 år ago | 1 answer | 0

### 1

answerQuestion

plotting the data

Hi. If you plot this x = [6 8 9]; y = [2 5 9]; plot(x,y) you get more like a curve. I was wondering how you can only plot...

mer än 11 år ago | 1 answer | 0

### 1

answerQuestion

Taking the last value of a matrix or vector

Hi. How can I take a last term of a vector - since my vector dimensions change -, and plug it in somewhere else in my code witho...

mer än 11 år ago | 1 answer | 3

### 1

answerQuestion

Question about if - else and ploting

Hi. I am trying to use this to plot. if w_speed_p >= 1.6 && w_speed_p <= 3.4 beaufort = 2 end if w_speed_p...

mer än 11 år ago | 2 answers | 0

### 2

answersQuestion

integer increment on a plot axis

Hi, I am trying to plot wind speed vs Beaufort number (which is integers from 0 to 10). How can I make my y-axis in a way to onl...

mer än 11 år ago | 1 answer | 1

### 1

answerQuestion

How to Plot multiple things?

Hi, For some reason when I run this code I can't get the plot(re_m, c_d, 's', re_m, f, '-',[0:.01:3], 0.5, 'r-') right. Does an...

mer än 11 år ago | 1 answer | 0