Feeds
How do I combine multiple plots in a for loop?
Add “hold on” prior to your for-loop. Adding a "hold on" command means that anything that you plot will not clear the existing...
6 years 前 | 4
| 已接受
op-amp inverter on simulink
I took a look at the example model that you attached to your question. I saw what you mean by the square pulse does not start at...
9 years 前 | 1
Help on gmdistributionfit toolbox
When you plot the |gmdistribution| fit results, did you remember to pass in both the x and y arguments to the |plot| function? ...
11 years 前 | 0
why am I getting this linprog error ?
You should check the dimensions of both your 'f' vector and your 'Aeq' matrix. Both of these values are multiplied with the vect...
11 years 前 | 0
The Integration of Gaussian PDF to obtain the CDF why don’t I get the correct answer?
After reviewing your code, I was able to figure out what was troubling you. The flow of your code and equations are all correct,...
11 years 前 | 1
| 已接受
How do I pass variables from one GUI to another
You can use the |<http://www.mathworks.com/help/matlab/ref/setappdata.html setappdata>| and |<http://www.mathworks.com/help/matl...
11 years 前 | 13
| 已接受
Look-up table with changing table
From what you are describing as requirements, you are correct that you need to use the <http://www.mathworks.com/help/simulink/s...
11 years 前 | 2
| 已接受
to find rise time, settling time, overshoot, steady-state error by a model generated in Simulink ?
I am assuming that you're already providing a step input to your Simulink model via the <http://www.mathworks.com/help/simulink/...
11 years 前 | 0
Fitting exponential function, coefficients and errors
You have quite a few options that you might want to check out to improve your exponential fit! As an option within the |fit| fun...
11 years 前 | 0
| 已接受
How can i open SimPowersystems library in R2013b?
The Simulink component library, SimPowerSystems, is an additional package for use in the Simscape environment. You can check the...
11 years 前 | 0
| 已接受
Need help using ODE45 and eulers function
It looks to me that you're nearly there! I found a couple of small mistakes that seems to be holding you back. Changes to you...
11 years 前 | 2
how to update the value of a transfer function block during run time of simulation
Here is a link to some documentation that details several different methods in Simulink to achieve what you're looking for: *...
11 years 前 | 0
Find Triggered subsystem in a simulink model
One potential method would be to generate a list of all the blocks in your Simulink model, and then find blocks which are of the...
11 years 前 | 0
| 已接受
How to set y-axes intercept
You can set the limits of the x-axis directly using the |<http://www.mathworks.com/help/matlab/ref/xlim.html xlim>| function. If...
11 years 前 | 0
| 已接受
How can I perform a K-means cluster analysis of the data inside a cell array?
The documentation of the |<http://www.mathworks.com/help/stats/kmeans.html kmeans>| function that you are trying to use requires...
11 years 前 | 0
| 已接受
Define colormap according to certain variable.
You can define a colormap using the |<http://www.mathworks.com/help/matlab/ref/colormap.html hsv>| function and then define the ...
11 years 前 | 1
Comparison between two stairs graphs
Since you're interested in the values of the empirical CDF curves, you could use the |ecdf| function as opposed to |cdfplot|. Th...
11 years 前 | 0
Estimation of parameters for a non-linear model
If you're using MATLAB 2011b or newer, you likely have access to the <http://www.mathworks.com/help/curvefit/interactive-curve-a...
11 years 前 | 0
| 已接受
How to put a title on a colorbar?
Using the handle for the colorbar (in your case, the variable hcb), you can locate the colorbar handle title using the |get| fun...
11 years 前 | 3
| 已接受
Poker bar graph, probability
An interesting problem for sure, as there are many methods through which you could tackle this problem. If you're relatively new...
11 years 前 | 1
| 已接受
How can I overlay a google earth image with a quiver plot?
If you have a map image of your area of interest, you could plot and scale the map coordinates using the |<http://www.mathworks....
11 years 前 | 1
| 已接受
dB scale (log scale) of a polar plot graph
You can simply convert the results directly to the decibels scale and plot the transformed results using the |polar| function. I...
11 years 前 | 0
FFT Power units for a time series?
Commonly, you can express the y-axis units in terms of power/frequency. If you use the logarithmic decibel scale, the units of y...
11 years 前 | 0
FPLOT, how to define step size along X-axis?
To define your own points, you could just use the |<http://www.mathworks.com/help/matlab/ref/feval.html feval>| function. You co...
11 years 前 | 2
| 已接受
Solving for unknown iteratively, guess and check
Perhaps a better way of formulating the problem is to solve for the zeros of the nonlinear function. F - a*(b*sqrt(c*(1 - x/d...
11 years 前 | 0
Plotyy Display Gridlines Axis
You can select the second axis handle for the data plotted with respect to the right y-axis. If you define an output for the |pl...
11 years 前 | 1
| 已接受
How can I use MATLAB in image processing?
You can start here: <http://www.mathworks.com/products/image/examples.html>
11 years 前 | 0
How count pulse when go up in simulink?
One potential method for counting pulses is to use the <http://www.mathworks.com/help/simulink/slref/detectincrease.html Detect ...
11 years 前 | 3
| 已接受
How can I convert a transfer function into time dependent using ilaplace
The |<http://www.mathworks.com/help/symbolic/ilaplace.html ilaplace>| function works on *symbolic expressions* and not transfer ...
11 years 前 | 0
Plotting temperature contours from txt file
To help you get started, I found some examples in the documentation about interpolation of data using the |scatteredInterpolant|...
11 years 前 | 0