統計
All
Feeds
解決済み
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
8年弱 前
解決済み
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
9年弱 前
解決済み
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
9年以上 前
回答済み
Manually adjusting amplitude of audio
I'm assuming that you are using a .wav file. First you will want to use |wavread| to read the audio data into Matlab. Then you...
Manually adjusting amplitude of audio
I'm assuming that you are using a .wav file. First you will want to use |wavread| to read the audio data into Matlab. Then you...
約10年 前 | 0
| 採用済み
解決済み
Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...
約10年 前
解決済み
Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
約10年 前
解決済み
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
10年以上 前
解決済み
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
11年弱 前
解決済み
Finding peaks
Find the peak values in the signal. The peak value is defined as the local maxima. For example, x= [1 12 3 2 7 0 3 1 19 7]; ...
11年弱 前
解決済み
Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
11年弱 前
解決済み
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
11年弱 前
解決済み
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
約11年 前
解決済み
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
13年弱 前
回答済み
reading a dicom file
What is the name of your m file? It may be that the m file is not in the MATLAB path.
reading a dicom file
What is the name of your m file? It may be that the m file is not in the MATLAB path.
13年弱 前 | 1
質問
How to change imellipse to include theta?
Is there a way to hack imellipse such that I can draw an ellipse and then change the angle so that major and minor axes do not j...
約13年 前 | 2 件の回答 | 0
2
回答回答済み
calling sql database from GUI
You need to pass the data. You can use ASSIGNIN as the comment above suggested, or save the data in the handles structure and u...
calling sql database from GUI
You need to pass the data. You can use ASSIGNIN as the comment above suggested, or save the data in the handles structure and u...
13年以上 前 | 0
| 採用済み
回答済み
capture current image from a video-gui in a seperate gui
I'm having a bit of trouble understanding what you want to do with your GUIs. If you want to get the image from the first GUI,t...
capture current image from a video-gui in a seperate gui
I'm having a bit of trouble understanding what you want to do with your GUIs. If you want to get the image from the first GUI,t...
13年以上 前 | 0
質問
Appending to a saved dataset
I'm trying to read data from a text file, do some data analysis, save the results in a dataset, and export my dataset into a .da...
13年以上 前 | 1 件の回答 | 0
1
回答質問
Nested Functions in GUIs
Can nested functions be used in GUIs that are generated using guide?
14年弱 前 | 0 件の回答 | 0
0
回答回答済み
How do I fill 4-connected cells in an matrix?
If you have the Image Processing Toolbox, then imfill should work in this case. I tried replicating your code here: A = [...
How do I fill 4-connected cells in an matrix?
If you have the Image Processing Toolbox, then imfill should work in this case. I tried replicating your code here: A = [...
14年弱 前 | 0
回答済み
Programming
You can probably use the *diff* function to find the step changes, so that for the 1st column: mark = diff(column1); ind...
Programming
You can probably use the *diff* function to find the step changes, so that for the 1st column: mark = diff(column1); ind...
14年弱 前 | 0
回答済み
¿Cómo puedo importar una señal que tengo guardada en formato csv?
You can either use csvread or textscan. With csvread, you can use: data = csvread('xxx.csv', 9, 0) var1 = data(:,1); ...
¿Cómo puedo importar una señal que tengo guardada en formato csv?
You can either use csvread or textscan. With csvread, you can use: data = csvread('xxx.csv', 9, 0) var1 = data(:,1); ...
14年弱 前 | 0
| 採用済み
質問
Merging two structures of same lengths, different field names
I have a structure array called Xdata and a cell array called Ydata of the same lengths. Each Ydata depends on the date that Xd...
14年弱 前 | 1 件の回答 | 0