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년 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 1 | 0