Community Profile

photo

sensation


30 total contributions since 2017

Contact

sensation's Badges

  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Question


splitting the date in the same line to three variables
Hi, I am trying to split the date in the same line but still stuggling. Any ideas? here is my hint: Thanks! start_date=20110...

6 months ago | 2 answers | 0

2

answers

Question


having trouble with power eq. and log axis
Hi, I plotted my power fun but somehow it is not in the log. Any idea where I am doing wrong? Thanks a lot! x = randi(1...

12 months ago | 0 answers | 0

0

answers

Question


parfor problem with fmincon body
Hi, I was wondering if someone can help me to use here parfor. If the code below is run without parfor, code works well. W...

1 year ago | 1 answer | 0

1

answer

Question


defining a constraint in fmincon
Hi guys, I want to define linear constraints of the form: A*x <= b of my S to be like: minS <= S(t) <= maxS % My storage...

1 year ago | 0 answers | 0

0

answers

Question


write cell output to a joint txt file
Hi, I have an output and want to write all cells into the same file so that each cell that is of different size will be next t...

1 year ago | 1 answer | 0

1

answer

Question


constraint in optimization problem exceeded? why?
Hi, I have my optimization problem and one constraint is not taken into account. Any idea why? Thanks a lot! %my constraint...

1 year ago | 0 answers | 0

0

answers

Question


constrain in fmincon exceeds its maximum, any tip?
Hi, I have many constraints in my file but one is not fulfilling the given condition. When i run the model I get the values t...

1 year ago | 0 answers | 0

0

answers

Question


compare two columns and retrive joint values
Hi, I have two data sets which I want to compare and retrieve corresponding data: A1=[726834;726835;726836;726837;7...

1 year ago | 1 answer | 0

1

answer

Question


extract values and save them as unique txt files
Hi, I have a vector and what to extract the unique values of the first column and save those as separate txt file with the same ...

1 year ago | 1 answer | 0

1

answer

Question


improving the speed of parallel optimization
Hi, I am trying to optimize in parallel but the speed is increased just slightly by using parfor. Do you have any further recomm...

1 year ago | 2 answers | 0

2

answers

Question


ismember on cell array and remplace values
Hi, I am trying to use ismember and replace values but getting an error. Any hint? Thanks c1={'ESP00021';'ESP00023';...

1 year ago | 1 answer | 0

1

answer

Question


call function in fmicon optimization failing
Hi guys, I have 4 functions where each one is derived from previous one. When I call the last one (revenue.m) I got an error usi...

1 year ago | 1 answer | 0

1

answer

Question


nested function problem solving
Hi, I have created a nested function where many functions that call each other, and they all contribute to main fun R. However, ...

1 year ago | 1 answer | 0

1

answer

Question


fun applied to a loop
Hi, I am struggling to apply my fun to a loop. Any tip? Here is my code: function T=totalflow(x,N) ...

1 year ago | 2 answers | 0

2

answers

Question


hessian using symbolic variables
Hi there, I am struggling with obtaining the Hessian of my function. In the first case it works fine but in the second case I...

1 year ago | 1 answer | 0

1

answer

Question


netcdf file lon lat extraction
Hi there, I have a huge netcdf file that does not allow me to read 'dis' variable (time, lat, lon). What i want is to extract...

1 year ago | 0 answers | 0

0

answers

Question


adding values to table at each step
Hi, I have a table 1x 5 eg values with code names such as: C='ABO1' 'ABO2' 'ADE3' 'ADE4' 'AGUG' 'ACE4' A...

2 years ago | 1 answer | 0

1

answer

Question


matching based on a condtion cell table
Hi, I have a cell with: 'ABA1' 'ABO1' 'ACE3' 'ACE4' Then I have a table with: 'AAYUC01' 3.7 'ABA1' 4.5 ...

2 years ago | 1 answer | 0

1

answer

Question


search for a string in other file and return new files based on multiple condiion
Hi and I hope you can give me some advice or suggestion, I have bunch of files and what I would like is to create new files ...

2 years ago | 1 answer | 0

1

answer

Question


finding string in between
Hi, so I have a cell string with 100 X 1 like: 18WABO1-12345-0X 18WABO2-12345-0N 18WACE3-12345-00 18WACE4-12345-0R ...

2 years ago | 1 answer | 0

1

answer

Question


getting first element of each cell array with different sizes
Hi, I have a 205 x 1 cell with diffferent sizes and I want to extract only the first element of each cell. For example, I ha...

2 years ago | 3 answers | 1

3

answers

Question


optimization with fminsearch error
Hi, I am trying to optimize my function with fminsearch in order to find a minimum. My function is of a form: fu...

2 years ago | 1 answer | 0

1

answer

Question


how to make 2D graph with 3 data set
hi, I was wondering if someone can give me a hint how to create a multiple line graph where each line will be associated to ce...

2 years ago | 1 answer | 0

1

answer

Question


remove nan from table with string and numeric type
Hi, I have data as cell data type like: 'HRD_0085' [ 190.7900] 'HRD_0086' [ 11.6500] 'WAT_0087' ...

2 years ago | 1 answer | 0

1

answer

Question


increasing spdiags matrix at each iteration
Hi, I was wondering if someone has an idea how to horzcat at each iteration spdiag matrix? Thanks!!! ot = ones(N,1);...

2 years ago | 1 answer | 0

1

answer

Question


assign different objective function to different data sets in a loop
Hi, I was wondering if someone can help me with this. How I can create different obj. function for different data sets? Up to...

2 years ago | 1 answer | 0

1

answer

Question


finding neighbours around central rows and columns
Hi, I was wondering if some can help me regarding the row-column looping. I have my row, col positions as [row,col]. e.g. ...

2 years ago | 1 answer | 0

1

answer

Question


finding the closest area match between matrix 3X3 and another data set
HI, I hope this is more clear what I am trying to obtin: At first I have my matrix A organized as grid with different cell-...

2 years ago | 1 answer | 0

1

answer

Question


how to find the closest value of certain value and 3x3 matrix
Hi, I have an array A of 470 X 1 elements (those are areas e.g.). I have a matrix B of 470 X 4230 elements (they are 470 X...

2 years ago | 0 answers | 0

0

answers

Answered
I have 2 matrices, containing x,y data, how do i find the closest point and extract data about that point?
Hi, what about finding the neareast number and its id betweeen two different size arrays? for instance, I have an array: A: 5...

2 years ago | 0