Beantwortet
How to disable shortcut hints in editor?
Michael, you can change/delete keyboard shortcuts following the approach described <http://www.mathworks.com/help/matlab/matlab_...

mehr als 12 Jahre vor | 0

Beantwortet
How to code this? Resampling of vector
For these straightforward time values, this will do sum(reshape(s,4,3)) If |t| gets more complex you should be able to f...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
Dispalying an image in a panel in GUIDE
See this <http://www.mathworks.de/matlabcentral/answers/26183#answer_34331 answer> for reference. Especially the second answer s...

mehr als 12 Jahre vor | 0

Beantwortet
How can i run a simulink model for given simulation time
Bhawesh, you mean, you would like to set the simulation stop time? This is done using set_param('mySimulinkModel','StartTim...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
plotting a graph using matlab
Try something like: t = 0:5:100; x = sin(t); plot(t,x,'*') xlabel('time in s') ylabel('my y axis') title('my...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
eliminate all exponential part in the matrix
Elysi, one option would be to convert matrix values to strings (or read as strings from file) and crop, if necessary: if ~i...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
how to drew vertical black line?
Use the <http://www.mathworks.com/help/matlab/ref/line.html |line|> command. line([1,1],[0,2],'Color','k') draws a black...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
2 second order differential equation using ode45
Vin, you are close. In the last two equations solve for |x2'| and |y2'| (so you end up with two equations containing only one *o...

mehr als 12 Jahre vor | 0

Beantwortet
Angles between 3 vector in 3d
You can make use of the dot product (between vectors): vec1 = [-0.063695 -0.588189 2.333766]; vec2 = [0.008239 -...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
Subscription assignment dimension mismatch error?
How about: ... lines = 4; answer = inputdlg(prompt,title,lines,def); A(1,:) = str2num(answer{1}(1,:)); A(2,:) ...

mehr als 12 Jahre vor | 0

Beantwortet
Input disturbance in a level control system
First, how and where (in terms of a block diagram) a disturbance enters the systems is typically dictated by the physics of the ...

mehr als 12 Jahre vor | 0

Beantwortet
Adding columns to matrix using circshift by auto incrementing
You coud use a simple loop: z = [0;1;2;3]; z_mat = zeros(length(z)); z_mat(:,1) = z; for ii = ...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Matlab academic licence use, how many posts of installation?
Valentin, it depends on the <http://www.mathworks.com/help/install/license/activation-types.html *activation type*>. For individ...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Running through a randomly generated array and doing calculations
Ian, what is |HW1Rand(1,1:20)|, in other words, how is the function/matrix defined? Also, for assignments in MATLAB you'd use a ...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Root locus of dynamic equation
Satyajit, you could simply compute the root loci in a loop for different values of |a| and plot them in 3D ( |plot3| ). The root...

mehr als 12 Jahre vor | 0

Beantwortet
How can I determine if Database Toolkit is present in my installation?
Use the ver command to list all installed toolboxes. Additionally, you can list all licensed toolboxes with licen...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
How can I uninstall matlab 2012 if I can't find the uninstall.exe in the matlab folder
|uninstall.exe| is typically located in a folder with a path equal or similar to (for 64 bit, but you will find the equivalent f...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Sum of first 100 integers?
my_sum = 0; for ii = 1:100 my_sum = my_sum + ii; end

mehr als 12 Jahre vor | 2

| akzeptiert

Beantwortet
Software Maintenance Service Renewal
Hello Alexander, you can certainly re-activate SMS. You will have to pay pro-rated SMS fees for the time SMS has been expired. P...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
How can I change the behavior of the commenting function so that the location of the % respect the indentation?
Franck, probably the easiest way is to use *smart indenting*: select all text (CTRL + a) and then use CTRL + i.

mehr als 12 Jahre vor | 0

Beantwortet
Help Using Simulink tp draw ODE
Dylan, the basic structure looks like this: <</matlabcentral/answers/uploaded_files/7692/Unbenannt.PNG>> Try using...

mehr als 12 Jahre vor | 0

Beantwortet
I need your help. y'(t) = -30*y+30*t^2+2*t; y(0)=1, & exact solution is y(t)=e^-30*x +x^2. i can't understand what is different b/w kr4 plotting & its error . i need both graph n error please send me code.
Are you trying to plot the result? If so, just save the integration step results in a matrix: function rungekutta123 h =...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
I am developing a small program in MATLAB GUI. How can I save the uitable output and print outs?
Check out this <http://www.mathworks.com/matlabcentral/answers/101648#answer_110996 answer>.

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
run m.file Same time with simulink
Hello behzad, check out <http://blogs.mathworks.com/seth/2008/12/25/initializing-parameters/ Guy and Seth's blog> on this topic....

mehr als 12 Jahre vor | 0

Beantwortet
How to make a function proceed in time when t is unknown
I suggest computing the time |tend| at which |v=-20 m/s| by hand, since it is so simple and then use v0 = 46; t0 = 2; ...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
limit computation time of a simulink simulation
Sure, in the model window the simulation time can be entered (in sec). In the figure below it is set to 10 sec. <</matlabce...

mehr als 12 Jahre vor | 0

Beantwortet
How can I insert xyz label and title in 3D plotting
Use title('My title') xlabel('My x label') and similarly for |y| and |z| axes.

mehr als 12 Jahre vor | 5

| akzeptiert

Beantwortet
i have a coloum data, how to normalize it in Source Scanning Algorithm
The simple approach: abs(data)/norm(data) Are you concerned about algorithm speed?

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
matlab code for automated images slideshow?
Romasha, have you checked out <http://www.mathworks.de/matlabcentral/fileexchange/24007-figure-slideshow-generator this entry> i...

mehr als 12 Jahre vor | 0

Beantwortet
weight vector iitiali zation
Anusha, you are probably looking at the |<http://www.mathworks.com/help/stats/pdist.html pdist>| command. See example at the bot...

mehr als 12 Jahre vor | 0

Mehr laden