A résolu


Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vertices of ...

plus d'un an il y a

A résolu


Are all the three given point in the same line?
In this problem the input is the coordinate of the three points in a XY plane? P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) how can...

plus d'un an il y a

A résolu


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

plus d'un an il y a

Question


Timeseries, Timetable, timeseriescollection, Time Data Aggregation
When recording data in a test lab, the data channels are not always sampled at the same rate and some channels are not evenly s...

environ 2 ans il y a | 1 réponse | 0

1

réponse

A résolu


Parse string and identify specific string sequence in algebraic equation
Given a string S that defines an algebraic expression such as: S= 'X= A1 + A2*(Y1 + A3*Y3)*exp( A4*Y12 + Y1) ;' return a...

environ 3 ans il y a

A résolu


sign function

environ 3 ans il y a

A résolu


step function

environ 3 ans il y a

Question


Epsilon Algorithm for Computing Padé Approximant
I am looking for a MATLAB implementation of the Epsilon Algorithm (theorem 1 from here). When I look at the Wikipedia page for P...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

A résolu


Hard limit function
Classify x data as if x>=0 then y=1 if x<0 then y=0 Example x = [ -2 -1 0 1 2] y = [ 0 0 1 1 1]

presque 4 ans il y a

A résolu


Rosenbrock's Banana Function and its derivatives
Write a function to return the value of <http://en.wikipedia.org/wiki/Rosenbrock_function Rosenbrock's two-dimensional banana fu...

presque 4 ans il y a

A résolu


Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

presque 4 ans il y a

A résolu


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

presque 4 ans il y a

A résolu


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

presque 4 ans il y a

A résolu


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

presque 4 ans il y a

A résolu


Given a matrix, return the last eigen value
Given a matrix, return the first eigen value For example: x = magic(5) 17 24 1 8 15 23 5 7 14 ...

presque 4 ans il y a

A résolu


ASCii Code
Using Matlab get the ASCii for '?'

presque 4 ans il y a

A résolu


Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

presque 4 ans il y a

A résolu


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

presque 4 ans il y a

A résolu


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

presque 4 ans il y a

A résolu


Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Find the remaining side of a triangle given the hypotenuse and a side. However, the normal functions and symbols are not allowe...

presque 4 ans il y a

A résolu


Television Screen Dimensions
Given a width to height ratio of a TV screen given as _w_ and _h_ as well as the diagonal length of the television _l_, return t...

presque 4 ans il y a

A résolu


Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If _p_ is the perimeter of a right angle triangle with integral length sides, { _a_, _b_, _c_ }, there are exactly three solutio...

presque 4 ans il y a

A résolu


Approximation of Pi (vector inputs)
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

presque 4 ans il y a

Réponse apportée
How to estimate weights of the weighted mean?
Put all the each x and y pair on a row. Formulate the matrix A containing all the x1...x81 and x values. Put the y values in a c...

presque 4 ans il y a | 0

A soumis


Hamming Window Amplitude Correction
This simple script calculates the amplitude correction for a Hamming Window.

environ 4 ans il y a | 1 téléchargement |

Thumbnail

A soumis


FFT Notes
This shows how to process a signal with an odd and even length fft.

plus de 4 ans il y a | 1 téléchargement |

Thumbnail

Réponse apportée
quadprog different output for R2020a and R2017a
There is an option called 'LinearSolver'. It can be dense or sparse. I set it to sparse and it converged quickly. This problem ...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Interpolation help please!
clc; clear; close all; t = [2 4 6 8 10]; x = [2 3 4 5 6]; y = [-1 2 1 3 -1]; F1 = griddedInterpolant(t,x); F2 = gridd...

plus de 4 ans il y a | 1

Réponse apportée
How can I capture a screenshot WITH the cursor displayed in Matlab?
Record the screen using Screen Recording in PowerPoint? A screen capture won't work but a screen recording will.

plus de 4 ans il y a | 0

Réponse apportée
Simulink Projects dependency analysis of mex file doesn't show all required C source files
File an enhancement request with Mathworks. However, I don't think they want to support the Dependency analysis of C/C++ files b...

plus de 4 ans il y a | 0

| A accepté

Charger plus