Answered

how can we generate a vector of length 100 with random number in between 0 and 1 with uniform probability such that sum of these numbers/100 is equal to 0.75

Please use randfixedsum, available on the File Exchange https://www.mathworks.com/matlabcentral/fileexchange/9700-random-vecto...

how can we generate a vector of length 100 with random number in between 0 and 1 with uniform probability such that sum of these numbers/100 is equal to 0.75

Please use randfixedsum, available on the File Exchange https://www.mathworks.com/matlabcentral/fileexchange/9700-random-vecto...

meer dan 3 jaar ago | 0

| accepted

Answered

How to create a dataset with an Epsilon Skew Normal distribution?

Currently, there isn't any MATLAB function to generate Epsilon Skew Normal DIstribution, but there is a workaround for it. Plea...

How to create a dataset with an Epsilon Skew Normal distribution?

Currently, there isn't any MATLAB function to generate Epsilon Skew Normal DIstribution, but there is a workaround for it. Plea...

meer dan 3 jaar ago | 0

Answered

How can we solve this, how to convert mupad to live script?

Please refer to the following link - https://www.mathworks.com/help/symbolic/convert-mupad-notebooks-to-matlab.html

How can we solve this, how to convert mupad to live script?

Please refer to the following link - https://www.mathworks.com/help/symbolic/convert-mupad-notebooks-to-matlab.html

meer dan 3 jaar ago | 0

Solved

Which quadrant?

Given a complex number, output quadrant 'I' 'II' 'III' or 'IV' | II | I | ...

meer dan 3 jaar ago

Solved

Area of a circle

Find the value for area of the circle if diameter is given

meer dan 3 jaar ago

Solved

Filter AC, pass DC

Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...

meer dan 3 jaar ago

Solved

Compute a dot product of two vectors x and y

x and y are input vectors, d is a number and contains their dot product

meer dan 3 jaar ago

Solved

Area of an Isoceles Triangle

An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

meer dan 3 jaar ago

Answered

relative error of machine epsilon

According to the formal definition, the approximation of Machine Epsilon is as follows epsilon = 1.0; while (1.0 + 0.5 * eps...

relative error of machine epsilon

According to the formal definition, the approximation of Machine Epsilon is as follows epsilon = 1.0; while (1.0 + 0.5 * eps...

meer dan 3 jaar ago | 0

Answered

Create a function myPrimes that returns the first n primes as a vector, given a positive integer. For example, if the positive integer is 5, the vector returned would include 1, 2, 3, 5, 7. In your script, prompt the user for the positive integer val

Refactor the first two lines to clc; n=input('Prime Numbers until:'); output = myPrimes(n) Edit : Addressed @Rik 's feedba...

Create a function myPrimes that returns the first n primes as a vector, given a positive integer. For example, if the positive integer is 5, the vector returned would include 1, 2, 3, 5, 7. In your script, prompt the user for the positive integer val

Refactor the first two lines to clc; n=input('Prime Numbers until:'); output = myPrimes(n) Edit : Addressed @Rik 's feedba...

meer dan 3 jaar ago | 0

Answered

Monitor Deep Learning Training Progress

I tried reproducing the above issue using an example provided in the documentation - digitDatasetPath = fullfile(matlabroot,'t...

Monitor Deep Learning Training Progress

I tried reproducing the above issue using an example provided in the documentation - digitDatasetPath = fullfile(matlabroot,'t...

meer dan 3 jaar ago | 0

| accepted

Answered

What is the triangular and rectangle block symbols in this model, from the two pictures?

The triangular block is a Gain Block while the Temperature Sensor could be a subsystem. As an alternative option, Ideal Temperat...

What is the triangular and rectangle block symbols in this model, from the two pictures?

The triangular block is a Gain Block while the Temperature Sensor could be a subsystem. As an alternative option, Ideal Temperat...

meer dan 3 jaar ago | 0

Answered

Reduce read (characteristic) timeout for BLE

As of the current release, the default timeout of read cannot be configured. If a given characteristic supports 'Notify' attrib...

Reduce read (characteristic) timeout for BLE

As of the current release, the default timeout of read cannot be configured. If a given characteristic supports 'Notify' attrib...

meer dan 3 jaar ago | 0

Answered

Solve symbolic differential equation

Please refer to Solve Differential Equation

Solve symbolic differential equation

Please refer to Solve Differential Equation

meer dan 3 jaar ago | 0

Answered

Lanczos kernel for image resizing (imresize function)

The Lanczos-2 algorithm precalculates the coefficients based on the resize factor. The model calls the lanczos2_coeffi.m script ...

Lanczos kernel for image resizing (imresize function)

The Lanczos-2 algorithm precalculates the coefficients based on the resize factor. The model calls the lanczos2_coeffi.m script ...

meer dan 3 jaar ago | 2

Answered

MatLab r2020b from Database Toolbox - How to Configure Data Source from Microsoft 2016 MSExcel(64Bit) & MSAccess(64bit)

The data source configuration can be done using configureODBCDataSource. Additional documentation can be found here

MatLab r2020b from Database Toolbox - How to Configure Data Source from Microsoft 2016 MSExcel(64Bit) & MSAccess(64bit)

The data source configuration can be done using configureODBCDataSource. Additional documentation can be found here

meer dan 3 jaar ago | 0

Solved

Distance walked 1D

Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

meer dan 3 jaar ago

Solved

Return the 3n+1 sequence for n

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

meer dan 3 jaar ago

Solved

Is the Point in a Circle?

Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...

meer dan 3 jaar ago

Solved

Add two numbers

Calculate the sum of two numbers. Example input = [2 3] output = 5

meer dan 3 jaar ago

Solved

find the surface area of a cube

given cube side length x, find the surface area of the cube, set it equal to y

meer dan 3 jaar ago

Solved

Append two matrix as shown below example

Append two matrix as shown below example A=[1 2; 3 4] and B=[5 6;7 8] Answer must be 1 2 5 6 3...

meer dan 3 jaar ago

Solved

Convert Fahrenheit to Celsius

Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

meer dan 3 jaar ago

Solved

Number of Circles in a Number

Given a number, return the number of closed 'circles' in the base 10 numerical representation. Note: the number 4 has no circ...

meer dan 3 jaar ago

Solved

Square a Number

Given an input x, return y, which is equal to the square of x.

meer dan 3 jaar ago

Solved

Generate Square Wave

Generate a square wave of desired length, number of complete cycles and duty cycle. Here, duty cycle is defined as the fraction ...

meer dan 3 jaar ago

Solved

Sum of series VI

What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

meer dan 3 jaar ago