Answered
リアルタイムで取り込んだ音声信号をFFT化を行い保存する方法を教えてほしいです。
>スペクトルデータを順次保存する方法を教えていただきたい SpectrumAnalyzerで測定可能なデータをgetMeasurementsData関数で取得できる様です。 (削除予定) 時間領域信号の周波数スペクトルの表示 - MATLAB - Ma...

4 years ago | 0

| accepted

Solved


Area of a regular hexagon
Given the length of a side of a regular hexagon, return its area rounded to two decimal places.

4 years ago

Solved


Draw "C" in a zero matrix
Given a x-by-x matrix filled with zeros (x> 4). Use 1 to draw a letter C into it! Like this: x = 5, y = 1 1 1 1 1 1 0 0 0 1 ...

4 years ago

Solved


Draw "T" inside a Zero Matrix
Given a x-by-x matrix filled with zeros (x> 2). Use 1 to draw a letter "T" into it! Like this: x = 5, y = 1 1 1 1 1 0 0 1 0 0...

4 years ago

Solved


Sum of 2 numbers in array
Given an array and a target sum, return true if any 2 numbers in the array sum up to the given target sum. Both numbers cannot h...

4 years ago

Answered
n×m行列のdouble型データを繰り返し文を使わずにvtkファイルに書き出す方法
fopen関数でファイルを開いた後は、fprintf関数でASCIIデータを書き込めます。下記の例ではデリミタをタブにしました。 x=[1,1,1,1,1]; y=[1,2,3,4,5]; z=[2,4,6,8,10]; xyz=[x,y,z]; fi...

4 years ago | 0

| accepted

Solved


Find distance travelled by an object starting from rest in time 't' and linear acceleration 'a' = 3t
Find distance travelled by an object starting from rest in time 't' with linear acceleration a = 3t. You are given time t as an ...

4 years ago

Solved


Find all prime factors of the input
Given an input x, find its all prime factors. Return the vector with all factors in ascending order. Efficiency is the key here...

4 years ago

Solved


Invert a Logical Matrix
Given a logical matrix, invert it

4 years ago

Solved


Draw a triangle of ones
For any given n, return a matrix that includes a triangle of ones of height n: Example n = 3 output = [0,0,1,0,0 ...

4 years ago

Solved


Caesar Cipher Shift
Given a word and its encrypted version using the caesar cipher, find the shift used.

4 years ago

Solved


Monty Python and the Holy Grail: Crossing the Bridge of Death
To cross the Bridge of Death, your function must return the numerical value for the airspeed velocity of an unladen swallow

4 years ago

Solved


Return longest string in 1-D array of strings
Find the longest string in an array of strings. Return an empty string if the initial array is empty. If there are multiple stri...

4 years ago

Solved


Sort vector by number of prime factors of each element
Sort a given array based on how many prime factors each term has. Sort from least to greatest and output original values. Ex: ...

4 years ago

Solved


Find Min and Max Differences in a Vector
Given an array of integers, return the absolute largest and smallest (non zero) difference between any two numbers in the array....

4 years ago

Solved


Zigzag array
Given an vector of integers, rearrange the array so that the array looks like: [largest value, smallest value, 2nd largest valu...

4 years ago

Solved


Draw 'W'
For any given n, return a matrix of height n and width 4n-3 containing a W of ones. Example: n=2 ans= [1 0 1 0 1 0 1 0 1 0...

4 years ago

Solved


Vector slither sort!
Sort a numeric vector in the following format: [largest value, smallest value, second largest value, second smallest value, etc...

4 years ago

Solved


Find the number of primes leq than input
Given an integer n, determine the number of primes less than or equal to n.

4 years ago

Solved


Determine if all elements are odd
Given an array, return true if all of the elements are odd. ex. x = [3 4 1] allOdd(x) ans = false ex. x = [3 5 7; 5 9...

4 years ago

Solved


Sum of Arithmetic Progression
Given the starting number, difference and the number of terms - find the sum of the arithmetic progression.

4 years ago

Solved


Draw a X
Given an input , create a square matrix of zeros with an X of ones. Ex. n = 3 drawX(3) [ 1 0 1 0 1 0 1 0 1 ] ...

4 years ago

Solved


Find two numbers that add up to the target value
Given a vector A and target n, return the indices of two numbers that add up to n. If there are multiple solutions, return the f...

4 years ago

Solved


Absolute Value of the Product of Complex Numbers
Find the absolute value (modulus) of the product of two complex numbers given by a + bi and c + di.

4 years ago

Solved


Calculate Percentage
Given marks obtained and total marks, calculate the percentage.

4 years ago

Solved


Momentum Calculation
A shopping cart of mass 'm1' is traveling with velocity 'u' and collides with a second shopping cart of mass 'm2.' The two shopp...

4 years ago

Answered
TiledLayoutに外枠を追加する
>このtiledlayout全体を1つのboxで覆いたい 「1つのboxで覆う」を拡大解釈し、パネル内にタイル表示チャート レイアウトを作成しました。 タイル表示チャート レイアウトの作成 - パネル内にレイアウトを作成 p = uipanel('P...

4 years ago | 0

Answered
TiledLayoutに外枠を追加する
苦肉の策「xline, ylineで線を描画!」 % 最後に下記を付け足す if Facts==8 xline(4.99) end yline(1) ylim([0 1])

4 years ago | 0

| accepted

Answered
セル配列に格納されたテーブルデータのラベル名検索
How to find table column number by column name? - (mathworks.com) mytbls={array2table(rand( 20, 3)) array2table(rand( 2, 4))...

4 years ago | 0

| accepted

Answered
プログラム上で生成したイメージデータをそのままディープラーニングに読み込みができないのはなぜですか?
print(figure1,'-dmeta',[num2str(i),'枚目_画像','.jpg']) % 【現状】 print(figure1,'-djpeg',[num2str(i),'枚目_画像','.jpg']) % 【修正提案】 上記prin...

4 years ago | 2

Load more