Community Profile

photo

sensation


Last seen: 2 years ago Active since 2017

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 3
  • First Answer

View badges

Feeds

View by

Question


merging two datasets based on two identical rows in each data set
Hi, I am looking to compare two datasets and rearrange their values: array A: A=[1 150 234, 1 151 234, 3 151 180, 5 ...

4 years ago | 1 answer | 0

1

answer

Question


extract data with unique ID
Hi, I have already read a lot regarding accumarray and examples but still struggling with this one. I have data of 1500*19 col...

4 years ago | 2 answers | 0

2

answers

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

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

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

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

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

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

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

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

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

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

6 years 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';...

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

6 years 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, ...

6 years 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) ...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

7 years ago | 1 answer | 0

1

answer

Load more