Community Profile

photo

Villanova


Villanova University

Active since 2011

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

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

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...

mer än 8 år ago | 0 answers | 0

0

answers

Question


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; ...

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

1

answer

Answered
Masking 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

answers

Question


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 ...

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

1

answer

Question


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

answer

Answered
error 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...

mer än 10 år ago | 0

Answered
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...

mer än 10 å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...

mer än 10 år ago | 3 answers | 0

3

answers

Question


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...

nästan 11 år ago | 2 answers | 1

2

answers

Question


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...

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

1

answer

Question


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 ...

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

1

answer

Question


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...

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

1

answer

Question


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...

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

1

answer

Question


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...

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

1

answer

Question


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

answers

Question


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

answer

Question


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

1

answer