Community Profile

photo

HAT


Last seen: 9 maanden ago Active since 2020

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Answered
steepest descent algorithm in Matlab
clear; clc % Define the interval constraints bounds = [3, 9; 3, 9]; % Solve the optimization problem x_opt = steepest_desc...

ongeveer een jaar ago | 0

| accepted

Question


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

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


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

meer dan een jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 3 jaar ago | 2 answers | 1

2

answers

Question


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

meer dan 3 jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 4 jaar ago | 2 answers | 1

2

answers