回答済み
For loop to enter values in array inputted by user.
i = 0; while true x = input('Insert the X components of signal (INCLUDING ZEROS) one by one, clicking enter after each inp...

7ヶ月 前 | 0

回答済み
unable to open .cdf file
cdfread() does not preserve column names. files = dir('mvn_lpw_*.cdf'); num_files = length(files); data= cell(1, num_files); ...

7ヶ月 前 | 0

| 採用済み

回答済み
"Execution of script cfunc as a function is not supported" i don't understand why i get this error, i tried making a function on multiple intervals
You do not define D or E L=0; A1=-0.0036; A2=-0089; A3=8.75e-4; B1=1.8e-5; B2=2.7188e-5; B3=-4.5e-6; L1=0.0035; L2=0.00...

7ヶ月 前 | 0

回答済み
Can I change the value of gain while the song is playing in audioplayer library , app designer matlab.
Simulink models typically run to completion each time they are invoked, so connecting them up for there to be a "live" connectio...

7ヶ月 前 | 0

回答済み
Difficulty Generating Analog Output of White noise - Data Acquisition Using Simulink NI USB-6009
https://www.mathworks.com/help/dsp/ref/colorednoise.html If the bounded option is enabled, the output is uniform white noise w...

7ヶ月 前 | 0

回答済み
simulink to workspace vs to file which is faster
Logging to workspace is faster than logging to file. However, if you log to file then if you interrupt the execution then you ...

7ヶ月 前 | 1

回答済み
How can I make it so that the value from my slider changes the rotation speed of the ferris wheel in my code?
slider = uicontrol('Style','slider','Min',0,'Max',100,'Value',0, 'SliderStep',[0.1 0.1], ... 'Units', 'normalized', 'Positi...

7ヶ月 前 | 0

回答済み
Redirect output of MATLAB verbose function
fminbnd() supports optimset() options, including OutputFcn and PlotFcn . So you can program a PlotFcn -- which will be called w...

7ヶ月 前 | 2

回答済み
how to express operators in symbolic algebra
MATLAB does not support creating operators: it only supports creating functions and expressions. For example, P^3 to represent ...

7ヶ月 前 | 1

回答済み
i want to make inverse kinematics for 3 dof robot arm usnig Newton Raphson in matlap but i always get this error "(Not enough input arguments. Error in robo2 (line 2) )"
Reorder the parts. format long g x = 2; y = 3; z = 5; l1 = 10; l2 = 10; l3 = 4.5; epsilon = 0.01; t = compute_inv(x, y,...

7ヶ月 前 | 0

回答済み
Arrays have incompatible sizes for this operation. Error in CDproydosverdos (line 28) Rx_sample = bsxfun(@times, x(t + lags), x(t)); Related documentation
t = linspace(0, T, 10001); %... x = A*cos(2*pi*fc*t + theta) + sqrt(N0)*randn(size(t)); x becames a 1 x 10001 T = 1000;...

8ヶ月 前 | 0

回答済み
how can i create a smooth curve through data points
x=-0.6745:0.06745:0.6745; x1=-0.6499:0.06499:0.6499; x2=-0.5856:0.05856:0.5856; f=[21.0956 20.4078 19.6966 18.9596 18.1937 17...

8ヶ月 前 | 0

回答済み
Fourier Series for odd integers only
symsum( (-1)^(k+1)*B(2*k-1), k, 1, inf)

8ヶ月 前 | 0

回答済み
Error using fft Invalid data type.
Fo is a symbolic expression. fft() is only valid for numeric expressions. You can call fourier(Fo) . But... according to the...

8ヶ月 前 | 0

回答済み
putting text of two lines in one cell in table
table() are not designed for presentation purposes. All of the methods for putting multiple lines into one cell result in displa...

8ヶ月 前 | 0

回答済み
Point array to generate meshgrid
Xu = uniquetol(X(:) ); Yu = uniquetol(Y(:) ); [Xg, Yg] = meshgid(Xu, Yu); F = scatteredInterpolant(X(:), Y(:), Z(:)) ...

8ヶ月 前 | 0

回答済み
Problem with converted TIFF image
Use im2uint16

8ヶ月 前 | 1

回答済み
Estimating the parameter of a complex equation using maximum likelihood estimation (MLE) method
The fval (residue) varies a lot, and the parameters vary a lot. The ga() call really should add in lower bounds and upper bound...

8ヶ月 前 | 0

回答済み
Is it possible to see patternnet architecture as a plot?
There is just view(NET) where NET is the patternnet architecture. Unfortunately, analyzeNetwork() only applies to Layer array, ...

8ヶ月 前 | 1

| 採用済み

回答済み
How to plot video frames along with entire audio and corresponding spectrogram for comparison in one graph?
There is a File Exchange contribution named VideoFig https://www.mathworks.com/matlabcentral/fileexchange/29544-figure-to-play-a...

8ヶ月 前 | 0

| 採用済み

回答済み
Installed Symbolic Math Toolbox but cannot find \toolbox\symbolic\symbolic path
First, quit matlab. Second, uninstall Maple. You will find the uninstaller at the top level of the directory that Maple is inst...

8ヶ月 前 | 0

| 採用済み

回答済み
Error when a function is running
You need to store that in a file to run it on MATLAB Online (or MATLAB Mobile)

8ヶ月 前 | 0

| 採用済み

回答済み
How to plot these kind of line charts as shown in figures ? Any pointer will be helpfull
Those are a mix of plot() and either area or fill or patch() . fill() and patch() are easier to figure out, and have the advanta...

8ヶ月 前 | 0

| 採用済み

回答済み
How can I associate complicated constraints in optimization problems using fmincon or intlinprog?
Use the nonlinear contraint function. f(x)-g(x)<=c translates into f(x)-g(x)-c <= 0 so return f(x)-g(x) Caution: nonlinear con...

8ヶ月 前 | 2

回答済み
Simulink example files unable to open
The example runs for me. Note: examples are installed as part of the help documentation. Since R2023a the help documentation ha...

8ヶ月 前 | 0

| 採用済み

回答済み
Hello. Could someone please suggest other components or blocks I can use to avoid using the step input block for the duty cycle?
Multiply the duty cycle (P) by 1.8 using a gain block.

8ヶ月 前 | 0

| 採用済み

回答済み
Overplotting of scatter points on top of coastlines
As well as long placing the scatterm() on the bottom, you need to watch out for the face color, because the face normally blocks...

8ヶ月 前 | 1

回答済み
2D Random Walk
for i = 2:N1 % Generate a random direction direction = rand(1, 2)*2*pi; % Update the position X1(i) = X1(i-1) + ...

8ヶ月 前 | 0

回答済み
How to find gradient of a vector field in matlab symbolic
The fundamental problem you are having is that gradient does not accept a vector the first parameter. syms x y z syms u(x,y,...

8ヶ月 前 | 2

| 採用済み

回答済み
How to change color of point depending on side of a line?
You can include scatter in a for loop. But there is a better way. state = ones(NumberOfPoints,1); state(X > AppropriateXV...

8ヶ月 前 | 1

| 採用済み

さらに読み込む