Community Profile

photo

Amandeep


Active since 2011

Master student, currently doing my thesis.

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Using fminsearch in a loop
Hi, What I want to do is find the minimum value of the variable, penalty, below using fminsearch. I am trying to get one valu...

12 years ago | 1 answer | 0

1

answer

Answered
Using num2str to get brackets
I think I just figured it out, by usingthe code beolw in the plot:- text(A(j,1),A(j,2),['(' num2str(A(j,1)),',' num2str(A(j...

12 years ago | 0

Question


Using num2str to get brackets
Hi, from A = [ 54,0.04; 60,0.03; 65,0.02; 67,0.01]; I want to get: B = [(54,0.04);(60,0.03);(65,0.02),(67,0.01)]; ...

12 years ago | 2 answers | 0

2

answers

Question


Annotating Plots
Hi, I am trying to annotate a plot with specific coordinantes, but I am not sure how to have the coordinantes displayed with bra...

12 years ago | 1 answer | 0

1

answer

Question


Creating new variables and matrix manipulation
Hi, From: A = 9 [55;61;66;68] 20 60 [47;83;105] 72 [44;57]; B = [1;2;5;6;8;9;10]; I am trying to create ...

12 years ago | 1 answer | 0

1

answer

Answered
Matrix Manipulation
I think I figured it usin arrayfun: A = [1; 1; 3; 1; 2; 1; 1; 1; 3; 1; 1; 1; 1; 2; 1; 1; 1; 1; 1; 3; 1; 1; 1; 2; 1; 1; 1; 1...

12 years ago | 0

Question


Matrix Manipulation
Hi, From the following matrix: A = [1; 1; 3; 1; 2; 1; 1; 1; 3; 1; 1; 1; 1; 2; 1; 1; 1; 1; 1; 3; 1; 1...

12 years ago | 2 answers | 0

2

answers

Question


How to reshape rows into columns
How can I change the following matrix: [1, 5,0,0; 2,4,0,0; 3, 2,6,4] to look like: [1,5; 2, 4; 3,2; 3,6; 3,4]? Any ...

12 years ago | 2 answers | 0

2

answers

Question


Dimension error in matrix manipulation
Hi, trying to figure out why this doesn't work and how to make it work:- looktime2= [1 16; 2 55; 2 61; 2 66; 2 68; 5 20...

12 years ago | 2 answers | 0

2

answers

Question


Rearranging an array by collecting values
Hi, I have a very similar problem: I'm trying to rearrange the following: F = [1 16; 2 55; 2 61; 2 66; 2 68; ....

12 years ago | 1 answer | 0

1

answer