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년 전