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

fast 4 Jahre vor | 0

| akzeptiert

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

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

fast 4 Jahre vor | 0

| akzeptiert

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


Invert a Logical Matrix
Given a logical matrix, invert it

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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.

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

Gelöst


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

fast 4 Jahre vor

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

fast 4 Jahre vor | 0

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

fast 4 Jahre vor | 0

| akzeptiert

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

fast 4 Jahre vor | 0

| akzeptiert

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

fast 4 Jahre vor | 2

Mehr laden