Rohit Pappu
Followers: 0 Following: 0
Programming Languages:
C++, Javascript
C++, Javascript
統計
All
Feeds
解決済み
Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the second...
1年以上 前
解決済み
Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...
1年以上 前
回答済み
Export data via data inspector
Hi Beni, As of R2023a, Simulink.sdi.exportRun accepts vector of runID as input argument. Please refer to this documentation ...
Export data via data inspector
Hi Beni, As of R2023a, Simulink.sdi.exportRun accepts vector of runID as input argument. Please refer to this documentation ...
1年以上 前 | 0
解決済み
Find the minimum of the column-maximums of a matrix
Given a matrix A, find the maximum value of each column, then return the smallest of those maximum values (ie return the minimum...
約2年 前
解決済み
Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...
約2年 前
解決済み
Find Closest Constant
Given a number x, return the value that is closest to x from this list of constants: 0, 1, , e, , (also known as ). For exampl...
約2年 前
解決済み
Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...
約2年 前
解決済み
Electrical Diode Current Calculation
In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instanc...
約2年 前
解決済み
An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...
約2年 前
解決済み
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...
2年以上 前
解決済み
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...
約3年 前
解決済み
Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...
約3年 前
回答済み
Injecting (and combining) a sine wave after a period of time
A plausible solution is as follows Generate the required sinusoidal signal %define sine wave %%Time specifications: Fs = ...
Injecting (and combining) a sine wave after a period of time
A plausible solution is as follows Generate the required sinusoidal signal %define sine wave %%Time specifications: Fs = ...
3年以上 前 | 0
回答済み
finding peaks in Simulink
findpeaks accepts only vector data as it's input arguments. A possible workaround would be to use a Buffer block in between Simu...
finding peaks in Simulink
findpeaks accepts only vector data as it's input arguments. A possible workaround would be to use a Buffer block in between Simu...
3年以上 前 | 0
回答済み
User Defined Montage but filling 12x8 Array
A possible workaround is as follows % Create an empty cell array of size 12x8 imgList = cell(96); % calculate the cell arra...
User Defined Montage but filling 12x8 Array
A possible workaround is as follows % Create an empty cell array of size 12x8 imgList = cell(96); % calculate the cell arra...
3年以上 前 | 0
回答済み
Calculate mean distance between lines in an image
For extracting the straight lines, a plausible solution is as follows Find edges in the image using edge function Apply hough ...
Calculate mean distance between lines in an image
For extracting the straight lines, a plausible solution is as follows Find edges in the image using edge function Apply hough ...
3年以上 前 | 0
回答済み
How to create 95 and 99 percent confidence ellipses around my data
Please refer to this answer for leads on how to plot confidence ellipses
How to create 95 and 99 percent confidence ellipses around my data
Please refer to this answer for leads on how to plot confidence ellipses
3年以上 前 | 0
解決済み
Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...
3年以上 前
解決済み
Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...
3年以上 前
解決済み
Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...
3年以上 前
解決済み
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...
3年以上 前
解決済み
Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?
3年以上 前
解決済み
Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)
3年以上 前
回答済み
Plot 2D Gaussian spot and histograms of horizontal and vertical axis in one figure
The above diagram can be created using subplot (for creating the grid of plots) and camroll (for rotating the histogram) % Crea...
Plot 2D Gaussian spot and histograms of horizontal and vertical axis in one figure
The above diagram can be created using subplot (for creating the grid of plots) and camroll (for rotating the histogram) % Crea...
3年以上 前 | 1
| 採用済み
回答済み
Finding circle in image
Please refer to the following answer for some tips on how to improvecircle detection using regionprops https://www.mathworks.co...
Finding circle in image
Please refer to the following answer for some tips on how to improvecircle detection using regionprops https://www.mathworks.co...
3年以上 前 | 0
| 採用済み
回答済み
How to convert augmented datastore to image datastore?
For augmening input data in the pixelLabelImageDatastore, the Data Augmentation property of pixelLabelImageDatastore can be set....
How to convert augmented datastore to image datastore?
For augmening input data in the pixelLabelImageDatastore, the Data Augmentation property of pixelLabelImageDatastore can be set....
3年以上 前 | 0
回答済み
Which App in Machine Learning and Deep Learning is best for strongly nonlinear and chaotic data?
For Nonlinear datasets, it is recommended to use fitnlm. An example about predicting using non linear regression can be found he...
Which App in Machine Learning and Deep Learning is best for strongly nonlinear and chaotic data?
For Nonlinear datasets, it is recommended to use fitnlm. An example about predicting using non linear regression can be found he...
3年以上 前 | 0
| 採用済み
回答済み
How to solve a transcendental differential equation?
Please refer to this community answer
How to solve a transcendental differential equation?
Please refer to this community answer
3年以上 前 | 0