回答済み
How to create a random n matrix with out any conditions
@Hajar Alshaikh, There is no way to create random numbers that are truly "without any condition". You can create random number...

20日 前 | 0

| 採用済み

回答済み
Interpolate consecutive values of a single array
@Luca Castrogiovanni, I assume that the values in beta are not a simple sequence such as beta=1:100. If that were tru, this wo...

20日 前 | 1

| 採用済み

回答済み
What factors influence the result of the optimization problem?
@Behrooz Daneshian, Usually a model makeas a specific prediciton, and the difference between the model prediction and the exper...

22日 前 | 0

回答済み
How to take the average every 4 data points?
@민수, I assume that you want a function that returns the average of points 1-4, then the average of points 5-8, then the average...

23日 前 | 2

回答済み
I am looking into how to create a function that would calculate the first derivative of a data set using the finite difference methods
@Sarah Elena Aiko Johnson, You have posted images which are screenshots of your code. It is more helpful if you cite and paste ...

23日 前 | 0

回答済み
How to Plot the Trajectory of points on a bendRightAngle when Rotated 90 degrees
@Steven Thompson, Matlab can define a polygon. It could be convenient for your work. The only possible disadvantage is that a p...

25日 前 | 1

回答済み
How to Plot the Trajectory of points on a bendRightAngle when Rotated 90 degrees
You can define a nx2 array of points on the sofa S=[0,0;1,0;2,0;3,0;3,2;2,2;2,1;1,1;0,1;0,0]; And plot it plot(S(:,1),S...

25日 前 | 0

回答済み
difference between "geodetic2aer" and "azimuth" function
@MatG, azimuth, by default, assumes the Earth is a sphere. geodetic2aer() ias using wgs84 spheroid, in your usage. If you tell ...

26日 前 | 1

回答済み
How do I plot a bifurcation diagram with known dynamical equations of motion (> 3 dimension)?
@Rebeka, Let's suppose that y is 1x5 and that the parameter is A, as in your diagram. Let's also assume that the equaitons of ...

26日 前 | 0

回答済み
Call on function that takes in 2 variables multiple times
@Spacestudent112233, You can write a funciton that returns values whose size varies as the size of the inputs vary. I am not su...

26日 前 | 1

回答済み
Error using Spherical harmonics: Array dimensions must match for binary array op.
@Jamie Al, [edit: correct spelling errors] The error is because Ylm has size 61x121, and p0 has size 128x128x128. Therefore y...

30日 前 | 0

回答済み
z transfer function evaluates to inaccurate value near z=1
@Ashish Panpalia, The function is tricky, as z approaches 1, since the numerator and denominator both tend toward zero. Why d...

約1ヶ月 前 | 0

回答済み
three phase three winding transformer Leakage indcutance
@omsuraj gutti, that is not a Matlab question. I recommend you try a different site.

約1ヶ月 前 | 0

回答済み
two signals with different frequencies to play at the same time without audio clipping
@F, I see that you are starting from A440, divividing by 2 to go down an octave, then using the circle of fifths with equal tem...

約1ヶ月 前 | 0

| 採用済み

回答済み
How to create meshgrid for unequal metrix.
@Jigar, The answer below shows how to create a grid that is non-uniform. The figures in the answer show how it worked. https:...

約1ヶ月 前 | 0

| 採用済み

回答済み
Interpreting Phase Bode Plot from Empirical Transfer Function
@Perry, great quesiton. Could you post a file with the experimental data a_z and F_t, which you used in the claculaitons above?...

約1ヶ月 前 | 0

| 採用済み

回答済み
how to generate random number in a rectangle like this?
@Daniel Niu, I will assume that there are 5 equally likely options, and that for each option, you want to pick a random point in...

約1ヶ月 前 | 0

| 採用済み

回答済み
finding PM and GM for a system
@Cait, Your results look reasonable to me. % Part 1 - plot nyquist plot for K=15 G = tf([900],conv([1 10],[1 4 4])); figure(...

約1ヶ月 前 | 1

| 採用済み

回答済み
how does matlab simulate electric field
@abdullah, Matlab does not simulate the electric field. The user does, by writing code that implements the standard equations...

約1ヶ月 前 | 0

| 採用済み

回答済み
Can anyone help me calculating the average covariance of return?
@Silvia Grasso, [Edit: change the name of the initial matrix; it should not be Fcvc, it should be S. Add code to construct Fcv...

約1ヶ月 前 | 0

回答済み
How do isosurface and isocaps affect the size of stlwrite's output?
@Simone Cotta Ramusino, When you say "I get a 116.8 mm STL" and "this closed my volume and leaves the size to 116.8 mm", how ex...

約1ヶ月 前 | 0

回答済み
using chi2gof to determine sample representativeness
@Khalil EL HACHEM, Your code (below) does not work because chi2gof expects a vector x containing the observed values of the val...

約1ヶ月 前 | 0

回答済み
Write a script to determine the change in temperature of the liquid over a 200 minute time period using the following equation: T(i+1)=T(i)+K*(Delta_t)*(F-T(i))
@Kyle, The change in temperature in each time step is proportional to the difference bwteeen the current temp and the fridge te...

約1ヶ月 前 | 0

回答済み
Converting beat-by-beat data into second average
@Jason, I have done this in Labview before but not Matlab. Make a time series of HR versus time, where HR is computed as 1/(R-...

約1ヶ月 前 | 0

回答済み
How do isosurface and isocaps affect the size of stlwrite's output?
@Simone Cotta Ramusino, [edit : fix spelling errors] isocaps is the way to go. Adding the background slices, even if they are...

約1ヶ月 前 | 0

回答済み
I want to draw the workspace of a gripper finger
@Ahmed, your code follows: clc; oe=48.218; j4p=166.696; pb=86.488; theta1=28.219; j3j4=42.219; j2j3=42; hold on for th...

約1ヶ月 前 | 1

回答済み
How to put two separate scales on the same x-axis?
@Stephen Bompastore, As is often the case, @dpb has already answered your quesiton. https://www.mathworks.com/matlabcentral/an...

約1ヶ月 前 | 0

回答済み
Most Efficient Way to Smooth Wavelet Spectral Matrix over Time and Frequency
@Anas Khan, I think your approach is good. It has the virtues of being readable and easy to follow. You do not need clear k c...

約1ヶ月 前 | 0

| 採用済み

回答済み
What is the "-20dB" bandwidth of a signal and how to calculate it in MATLAB
@2NOR_Kh, @Star Strider has given an excellent answer that explains, with code and figures, how to find the bandwidth of a filt...

約1ヶ月 前 | 0

| 採用済み

回答済み
Can I use "chi2gof" code in this case?
@Chris, yes you can use the chi squared test to test whether the distribution of results fits an expected distribution. If the ...

約1ヶ月 前 | 0

| 採用済み

さらに読み込む