문제를 풀었습니다


average for three points
how to calculate the average (for each three values of y) y=[2 3 5 3 4 2 3 4 5 3 2 7 8 6 5 5 4 3 3 3 2 ] you ...

대략 3년 전

문제를 풀었습니다


Toolbox check part 3
In my ongoing quest to highlight obscure parts of MATLAB, the latest challenge is to take 2 string inputs, one a MATLAB toolbox ...

대략 3년 전

문제를 풀었습니다


Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...

대략 3년 전

문제를 풀었습니다


Calculate Alcohol By Volume with Original and Final Gravity
Given an initial gravity of un-fermented wort (OG) and a final gravity of fermented wort (FG), better known as beer, it is possi...

대략 3년 전

답변 있음
Cannot solve due to algebraic loop involving
Hi @FAIZ UL HASSAN, try to add a Unit delay block.

대략 3년 전 | 0

문제를 풀었습니다


Selecting books on MATLAB for experts and beginners (blindfolded)
* Imagine you have been blindfolded and asked to pick up any two books randomly from the table. * There are n books suitable f...

대략 3년 전

문제를 풀었습니다


Remove NaNs and numbers adjacent to NaNs
The aim is to remove the elements before and after NaN occurrences inside a vector. For example: x = [6 10 5 8 9 NaN 23 1...

대략 3년 전

문제를 풀었습니다


Additive persistence
Inspired by Problem 2008 created by Ziko. In mathematics, the persistence of a number is the *number of times* one must apply...

대략 3년 전

답변 있음
How to determine dates when aircraft moving northwards or southwards?
I would do it in this way Test = readtimetable("Test.xlsx","VariableNamingRule","preserve"); % to import data (or using Import ...

대략 3년 전 | 1

문제를 풀었습니다


Pandigital number n°1 (Inspired by Project Euler 32)
A little warm-up to begin... An n-digit number is pandigital if it makes use of all the digits 1 to n exactly ONCE. For ex...

대략 3년 전

문제를 풀었습니다


Vandermonde Matrix
Create the Vandermonde Matrix of the given vector. The matrix consists of columns as powers of the vector, so the first column i...

대략 3년 전

문제를 풀었습니다


0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

대략 3년 전

문제를 풀었습니다


How to calculate the length of a triangle's side given two angles and one side
You are given a triangle with angles alpha, beta and gamma and sides a opposite alpha, b opposite beta and c opposite gamma. ...

대략 3년 전

문제를 풀었습니다


Mongean Shuffle
A Mongean shuffle of an n card deck starts with putting the initial deck on the left hand side. * The top card of the deck is...

대략 3년 전

문제를 풀었습니다


Perfect Square
Determine if the input is a perfect square (square of an integer) or not. Example - If input is 25(==5^2), return 1. If input...

대략 3년 전

문제를 풀었습니다


Convert a vector of Integers into a matrix of binaries
Convert a vector of positive integers into a matrix containing their binary representation. Each column of the output contains t...

대략 3년 전

문제를 풀었습니다


Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...

대략 3년 전

문제를 풀었습니다


Vector indexing: lower than mean
Find indices of values in a vector lower than the mean of the vector

대략 3년 전

문제를 풀었습니다


Number Persistence
A number's persistence is the number of steps required to reduce it to a single digit by multiplying all its digits to obtain a ...

대략 3년 전

문제를 풀었습니다


step function

대략 3년 전

문제를 풀었습니다


Basic Mathematics 5
The total area of all four equal sections of the game field is N ft². Each section has a rectangle of dimensions X ft x Y ft re...

대략 3년 전

문제를 풀었습니다


Better Index Number
Let's say you want to save many, many files and append these files with a certain sortable index number. As you probably know, y...

대략 3년 전

문제를 풀었습니다


Calculate the peak value of square wave
Given the peak value of sine wave, calculate corresponding peak value of square wave, if both have same RMS voltage.

대략 3년 전

문제를 풀었습니다


Median computation (★)
Given a vector of values, compute the median. The median is defined as the middle value in a set of *sorted* data. Thus, if ...

대략 3년 전

문제를 풀었습니다


Wind outward from the center ...
Create an n-by-n matrix with elements ranging from 1 to n^2 in a rectangular spiral pattern. Example if n = 5 : 21 ...

대략 3년 전

문제를 풀었습니다


calculate PI without using pi function
There are many methods to get the pi(Ratio of circumference to diameter). You should get pi without using the pi function in M...

대략 3년 전

문제를 풀었습니다


Surface area of a cone

대략 3년 전

문제를 풀었습니다


User defined nextpow function
Create a function which will take 2 arguments as n and x, and return y, where, n^y >= abs(x). [ Similar to builtin "nextpow2" fu...

대략 3년 전

문제를 풀었습니다


Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

대략 3년 전

문제를 풀었습니다


Basic Mathematics 4
Team #1 is in first place but only one point higher than Team #2. The sum of their two scores is N. What are each team’s scores...

대략 3년 전

더 보기