Feeds
已回答
steepest descent algorithm in Matlab
clear; clc % Define the interval constraints bounds = [3, 9; 3, 9]; % Solve the optimization problem x_opt = steepest_desc...
steepest descent algorithm in Matlab
clear; clc % Define the interval constraints bounds = [3, 9; 3, 9]; % Solve the optimization problem x_opt = steepest_desc...
1 year 前 | 0
| 已接受
提问
How to display a linear regression line along with the scatter plot
I want to diplay a linear regression line (y=b+mx) along with the scattered plot, but I got stuck. I need only to display th...
1 year 前 | 1 个回答 | 0
1
个回答提问
Minimizing a function using fmincon with special constraints and intervals
I would like to minimize a function using fmincon as follows: The function to be minimized is: fun = @(x)x(1)^2 + 3*x(2)/x(3) ...
1 year 前 | 1 个回答 | 0
1
个回答提问
How to minimize the white space from boxchart in MATLAB?
I would like to minimize the whitespace of the figure (boxchart). I have tried to get a transparent background using built-in f...
2 years 前 | 1 个回答 | 0
1
个回答提问
Product of vector elements where the vector has a large size
I want to find the nth root of a product for all elements of a vector V having a large size (1064 elements) given as follows. ...
3 years 前 | 1 个回答 | 0
1
个回答提问
Solving an iterative procedure with respect to some criteria using MATLAB
I would like to solve the following iterative algorithm based on the given incomplete matrix A, where `-` refers to the missin...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to get a complement of a cell array in matlab?
I would like to write a matlab code to get a cell array W so that W is "V without the union of three different arrays V1, V2 an...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to write a matlab code for a given algorithm from a given array and function?
I would like to write a matlab code to calculate the value of a function of two variables g(i,j) = i + j + 1 for every pair (i...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to write a MATLAB code to compute a set of indices from an array?
I would like to compute a set of indices T={j≠1,2| (1,j) and (j,2) belong to KV for j in {1,2,3,4} }, where KV = {(4,1), (3,2)...
3 years 前 | 1 个回答 | 0
1
个回答提问
steepest descent algorithm in Matlab
I would like to solve the following constrained minimization problem: min f(x1,x2) = x1.^2 + x1.*x2 + 3*x2.^2; subject to...
3 years 前 | 2 个回答 | 1
2
个回答提问
Error using fmincon MATLAB function
I would like to obtain the minimum of the function using MATLAB 'fmincon' function where the first eigenvalue derived from the g...
4 years 前 | 2 个回答 | 0
2
个回答提问
fmincon using only gradient vector, without scalar function
I would like to use MATLAB function fmincon using the gradient vector alone (without scalar function f). But I have trouble wit...
4 years 前 | 1 个回答 | 0
1
个回答提问
generating a random graph under a particular case using MATLAB
I want to generate a random graph using MATLAB with the following properties: the diameter (longest shortest path) of the graph...
4 years 前 | 2 个回答 | 1