Réponse apportée
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...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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

plus de 4 ans il y a | 0

A résolu


Generate pi using logarithm
Generate pi using logarithm

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
Monitor Deep Learning Training Progress
I tried reproducing the above issue using an example provided in the documentation - digitDatasetPath = fullfile(matlabroot,'t...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
offboard control using Mavlink message
Please refer to this link

plus de 4 ans il y a | 0

Réponse apportée
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...

plus de 4 ans il y a | 0

Réponse apportée
Solve symbolic differential equation
Please refer to Solve Differential Equation

plus de 4 ans il y a | 0

Réponse apportée
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 ...

plus de 4 ans il y a | 2

Réponse apportée
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

plus de 4 ans il y a | 0

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

A résolu


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

plus de 4 ans il y a

Charger plus