Community Profile

photo

Gayan Lankeshwara


Last seen: 4 years ago Active since 2019

Statistics

All
  • Thankful Level 2
  • Solver
  • Thankful Level 1

View badges

Content Feed

View by

Question


Is there any method to change the sampling time of a MATLAB s function or Level-2 s function without changing it in the code ?
Hi ! Can anyone please tell me whether there is any other method (interactive method with a window or something) for changing t...

4 years ago | 0 answers | 0

0

answers

Question


How to use an optimization algorithm developed in YALMIP in a function block in simulink ?
I have developed an optimisation algorithm in a .m file using the YALMIP toolbox in MATLAB. Now I need to use it in a Simulink ...

4 years ago | 0 answers | 1

0

answers

Question


Need a help to formulate an optimization problem?
I need help in formulating an optimisation problem which is briefed here. alpha and beta are weighting parameters and scalars...

4 years ago | 0 answers | 0

0

answers

Solved


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

4 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 years ago

Question


How can I arrange the optimization problem in the correct manner to solve using Intlinprog ?
This is the code I have written for a Integer Linear Programming problem. There is an error at the section where CI is defined ...

4 years ago | 0 answers | 0

0

answers

Question


Dark Mode editor for MATLAB
Are there any predefined MATLAB dark mode settings so we do not need to maually set-up them ? Specially for the MATLAB editor ? ...

4 years ago | 5 answers | 15

5

answers

Question


How to avoid printing certain values in axes of a plot?
I have the following plot Since x-axis is the 'number of iterations' . I need to avoid prinitng float values. What is want is...

4 years ago | 1 answer | 0

1

answer

Question


How can I keep two indices preserved in MATLAB ?
Hi All, This is a snapshot of the table that I am working on. I need the indices of the [row] and [column] BOTH columns of th...

4 years ago | 0 answers | 0

0

answers

Question


How to remove duplicate rows in a matrix by considering the repeated values in a specific column?
%% consider the following example. A = [1 2 4; 3 5 7;1 5 8; 2 9 4] In matrix A, column 1 has a duplicate value which is 1....

4 years ago | 1 answer | 2

1

answer

Question


How can I sort a matrix elementwise ?
Hi, I need to sort a matrix elementwise and get the results to a single vector without losing the index of each element. For ex...

4 years ago | 2 answers | 1

2

answers