統計
All
Feeds
回答済み
App Designer: How to open a second GUI or a new window with panels, lamps, edit fields, etc. by a ButtonPush callback ?
Have you tried to create a button, its callback and modify the callback? You could try fig = figure(); assignin('base',...
App Designer: How to open a second GUI or a new window with panels, lamps, edit fields, etc. by a ButtonPush callback ?
Have you tried to create a button, its callback and modify the callback? You could try fig = figure(); assignin('base',...
6年以上 前 | 0
回答済み
Problem with mean function
Two commands that might always help when having path issues are the following: >> restoredefaultpath and >> rehash ...
Problem with mean function
Two commands that might always help when having path issues are the following: >> restoredefaultpath and >> rehash ...
6年以上 前 | 1
解決済み
Model a simple pendulum
Model a simple pendulum of length 200cm with bob of mass 100g and plot the position in degrees. The pendulum starts at 30 degree...
約7年 前
解決済み
Model a falling body
An object is falling freely from a height of 22 meters under the force of gravity. <<http://blogs.mathworks.com/images/seth/c...
約7年 前
解決済み
Add damping to a mass spring system
Model an ideal mass-spring-damper system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/im...
約7年 前
解決済み
Model a mass spring system
Model an ideal mass-spring system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/images/se...
約7年 前
解決済み
Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>
約7年 前
解決済み
Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>
約7年 前
解決済み
Add offset to a signal
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...
約7年 前
解決済み
Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...
約7年 前
解決済み
Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...
約7年 前
回答済み
How to give discrete input from workspace to simulink?
Hello Anirudh, it seems like your time vector is empty. To be able to use data from your workspace in Simulink, one soluti...
How to give discrete input from workspace to simulink?
Hello Anirudh, it seems like your time vector is empty. To be able to use data from your workspace in Simulink, one soluti...
約7年 前 | 0
解決済み
Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...
約7年 前
解決済み
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
約7年 前
回答済み
How to change structure fields from 1 x Y double to Y x 1 double (Horizontal;1 row,Y columns to Vertical;1 column,Y rows)
Maybe a little change to your code will do the job (just transpose the imported arrays): SP1OCVT00 = struct('Test_time',[ra...
How to change structure fields from 1 x Y double to Y x 1 double (Horizontal;1 row,Y columns to Vertical;1 column,Y rows)
Maybe a little change to your code will do the job (just transpose the imported arrays): SP1OCVT00 = struct('Test_time',[ra...
約7年 前 | 1
| 採用済み
回答済み
How to extract RGB
Extraction of RGB values: C = imread('ngc6543a.jpg'); % Sample image file % Coordinates of point/pixel P1: x1, y1 x1 ...
How to extract RGB
Extraction of RGB values: C = imread('ngc6543a.jpg'); % Sample image file % Coordinates of point/pixel P1: x1, y1 x1 ...
約7年 前 | 0
回答済み
How to turn off automatic logging of simulation run signals in data inspector in 2017b.
This might help: <https://www.mathworks.com/matlabcentral/answers/158026-can-we-control-data-inspector-from-command-line?s_ti...
How to turn off automatic logging of simulation run signals in data inspector in 2017b.
This might help: <https://www.mathworks.com/matlabcentral/answers/158026-can-we-control-data-inspector-from-command-line?s_ti...
約7年 前 | 0
解決済み
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...
約7年 前
解決済み
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...
約7年 前
解決済み
Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
約7年 前
解決済み
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...
約7年 前
解決済み
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 ...
約7年 前
解決済み
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
約7年 前
解決済み
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 ...
約7年 前
解決済み
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...
約7年 前
回答済み
How can I plot in the same coordinate system this two images that the execution of the two codes below gives?
You might want to delete/comment out the hold off statement and try the following: % circle(1, 2, 3) x=1; y=2; r=3...
How can I plot in the same coordinate system this two images that the execution of the two codes below gives?
You might want to delete/comment out the hold off statement and try the following: % circle(1, 2, 3) x=1; y=2; r=3...
約7年 前 | 0
回答済み
I have got a set of data; one column is for wind(mph) another column one is for temperature(in Fahrenheit). using the wind chill factor formula i want to find out the WCF for each tempetaure and wind
This should do the job: WCF = 35.7 + 0.6.*T - 35.7.*(V.^0.16) + 0.43.*T.*V.^0.16 where V in mph and T in deg Fahrenheit....
I have got a set of data; one column is for wind(mph) another column one is for temperature(in Fahrenheit). using the wind chill factor formula i want to find out the WCF for each tempetaure and wind
This should do the job: WCF = 35.7 + 0.6.*T - 35.7.*(V.^0.16) + 0.43.*T.*V.^0.16 where V in mph and T in deg Fahrenheit....
約7年 前 | 1
解決済み
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:...
約7年 前