Answered
How can I fit a lower tail distribution for the lower 25% of the data?
Hi. here's a quick example: %X = zeros(1000,1); % Create data X = normrnd(2,1.5,1000,1); X_sort = sort(X); % sort data by t...

3 Monate ago | 0

| accepted

Answered
unable to optimise the following using linprog
HI. here's how you should do it: First i create a sample database for my self to use as parameters: (i use 100 points in 4D fea...

3 Monate ago | 1

| accepted

Answered
How can I create nested pie/doughnuts chart?
this might be useful: https://www.mathworks.com/matlabcentral/fileexchange/56833-donut but it's a lot simpler than charts in y...

3 Monate ago | 1

| accepted

Answered
Error using plot Data must be numeric, datetime, duration or an array convertible to double.
f is a symbolic expression not a function or vector. you can create a function with this expression, then plot the value of func...

3 Monate ago | 1

| accepted

Answered
How can I detect a triangle in my image?
Hi. in case your problem is exactly what you attached. here is an easy solution i can provide: I = imread('image.jpeg'); %read ...

5 Monate ago | 0

Answered
How can I solve an Optimization problem?
you can use fmincon, this function minimize function in a constraint problem. but only constraint here is bounds of lambda. so o...

5 Monate ago | 0

Answered
input layer and flatten mismatch
The Flatten layer support sequence input only. [1] As i understand from your network architechture you don't need Flatten Layer...

5 Monate ago | 0

| accepted

Answered
Optimize a function with a sum of series
Hi , you don't need necessarily symboilic functionality for this problem. here is a simple solution. (you can run it in single ....

5 Monate ago | 0

| accepted

Answered
ResNet-50 training problem
this note is from official MATLAB documentation for trainingOptions , i think it's exactly what you're looking for. "When t...

5 Monate ago | 0

| accepted

Answered
How to convert text file to string?
use fscan or fread F = fopen('Untitled.txt'); Text = fscanf(F,'%c')

5 Monate ago | 0

| accepted

Answered
Solving a nonlinear equation
the eqn as you defined is a vector-value multi-variable function. fzero takes a scalar-value single-variable function. so maybe...

5 Monate ago | 0

| accepted

Answered
if statement is not working
the condition theta >= 41.19 & theta <= 90 is a logical vector with 20 values. if you want to calculate such a formula for those...

5 Monate ago | 0

Answered
Interp1 returns NaN for all values
According to documentation of interp1. the function returns NaN for points outside the domain. so check V and See if it's point ...

5 Monate ago | 0

| accepted

Answered
A problem using the app designer
in PlotFitButtonPushed function which you plot your graphs, by using figure you create new figure out of your app.UIFigure. use ...

5 Monate ago | 0

| accepted

Answered
How can I get the hessian matrix of a set of several functions?
The Hessian is officially defined for scalar value functions. depend on what application you want to use hessian, you may define...

5 Monate ago | 2

Answered
Find the nonlinear equation
If you have a form of equations they should obey you should try fit that function on your data. you can use eather fit functions...

5 Monate ago | 0

Answered
Integration of a function multiplied by an array
your y2 function return Array for every single number as it's input. syms x y1 = linspace(0,1,10); y2 = @(x) x.*y1; y2(1) a...

5 Monate ago | 0

| accepted

Answered
How to use sigmoid layer?
The Classification Layer assign a Class to highest probability using cross-entropy loss. so the output of the layer before class...

5 Monate ago | 0

Solved


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

5 Monate ago

Answered
Can someone help me understand this code?
function throwAgain=MCO_throwAgain() define a function named MCO_thorAgain with no input and one output as throwAgain die=1; ...

5 Monate ago | 1

Answered
Finding correlation between two row matrices
Use fitlm function. it report you the R-squared value. and fit the linear model. example: x=1:0.1:10; y=exp(x); Fitted_model...

5 Monate ago | 0

Answered
Write a function called sum_rows
sum function get dim (dimension which summuation operate on it) as second arguments. so just use : sum(A,2) a function : fun...

5 Monate ago | 0

Solved


Sum the Digits of a Number
Given an integer, sum the digits repeatedly until you end up with a single value less than 10. For example, if you add the di...

5 Monate ago

Solved


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

5 Monate ago

Solved


Are you in XY plane?
Take a point P as an input position Vector (x,y,z). If you are in XY plane, return 1 as an output otherwise return 0. Example...

5 Monate ago

Solved


Project Euler: Problem 9, Pythagorean numbers
A Pythagorean triplet is a set of three natural numbers, a b c, for which, a^2 + b^2 = c^2 For example, 3^2 + 4^2 =...

5 Monate ago

Solved


Distance walked 2D
Suppose you go from x-y coordinates [3,4] to [0,0] to [0,1] to [1,1], then you walked 7 units of distance.

5 Monate ago

Solved


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

5 Monate ago

Answered
Comparisons between string and double are not supported.
in your code nettotrain is eather "YOLOv2" or "SSD", but in training process and preprocessData function and some other lines yo...

5 Monate ago | 0

| accepted

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

5 Monate ago

Load more