Feeds
提问
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 ...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 2 个回答 | 0
2
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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...
6 years 前 | 0 个回答 | 0
0
个回答提问
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...
6 years 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
7 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
7 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 3 个回答 | 1
3
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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. ...
8 years 前 | 1 个回答 | 0
1
个回答提问
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-...
8 years 前 | 1 个回答 | 0