Answered
Please help with this quadratic equation
Use syms X solve(X - (abs(X))^2 + i*0.4) Of course, you can also use |j| instead of |i|.

12 years ago | 0

Answered
Interpolation of the divergence
Since it is probably more challenging to find a good data fit for derivatives of data, I would start with interpolating the velo...

12 years ago | 0

Answered
plot a quantity, which is a function of three euler angles
How about a <http://www.mathworks.com/help/matlab/ref/slice.html volumetric slice plot>? x, y, z would be presented by the angle...

12 years ago | 0

| accepted

Answered
Increase a variable proportionally to the squared number of loop repetitions
|X = log2(ITERATIONS)|

12 years ago | 0

| accepted

Answered
newton-raphson please help
Try: function [x, fx] = my_NR(my_tol, h, x0) x = x0; while (abs(f(x)) > my_tol) dx = f(x)/df(x, h); ...

12 years ago | 0

Answered
When coding, why does matlab prevent me from writting ' " ^ ~ without waiting for the next character?
Hello Matthew, this not a MATLAB functionality/feature. You will observe the same behavior in any word processing tool or in you...

12 years ago | 1

| accepted

Answered
How to store a variable no. of data points in a matrix?
Sure. Simply append the data point to the existing matrix of data points: for ii = 1:N ... if FLAG % if condi...

12 years ago | 0

Answered
changing colors in line plot of a matrix
Hello, you need to change the |ColorOrder| that MATLAB chooses per default to generate plots. See <http://www.mathworks.com/matl...

12 years ago | 0

Answered
Modifying plots produced by simulink scope
Hello Unnikrishnan, I recommend using the <http://www.mathworks.com/help/simulink/slref/toworkspace.html To Workspace> block to ...

12 years ago | 0

| accepted

Answered
How Rate transition block works? What does internal operation of it?
Hello Sateesh, have you checked out <http://www.mathworks.com/help/rtw/ug/scheduling.html#f1018329>? The internals are explained...

12 years ago | 0

Answered
convert class 'char' to class 'logical' , How?
Try |b_bin = logical(b(:)'-'0')|

12 years ago | 9

| accepted

Answered
how to interface simscape component like light-emitting diode with other libraby components in simulink?
Please see <http://www.mathworks.com/help/physmod/simscape/ref/pssimulinkconverter.html>

12 years ago | 0

Answered
How to find a linear approximation on loglog scale?
Hello Daniel, you could |log| your data before doing the curve fit and take it from there.

12 years ago | 1

| accepted

Answered
Command fprintf with the text format
No, there is not. See <http://www.mathworks.de/matlabcentral/answers/22744-how-to-bold-italics-sentence-using-fprintf-in-matlab>...

12 years ago | 1

Answered
Add Certain dates as Bars on the Time series graph
You could use the |<http://www.mathworks.com/help/matlab/ref/text.html?searchHighlight=text text>| feature. Either do it program...

12 years ago | 0

Answered
Y undefined in complex number c = x+i*y
I would assume it's the |z**2| (the double star) that's causing the problem. What are you trying to do there? There's a couple o...

12 years ago | 0

| accepted

Answered
Finding and displaying the intersection of two functions
Use P = 600; fzero(@(I) 20*I.^2 - 2*I.^3 - P./I, 10) ans = 9.6680 fzero(@(I) 20*I.^2 - 2*I.^3 - P./I, 3) ...

12 years ago | 1

| accepted

Answered
Fitting Curve passing through zero using CFTOOL
Hello Giuseppe, you could use a simple, brute-force approach to get a little closer: add a couple of (0,0) data points to th...

12 years ago | 0

| accepted

Answered
How to put in color a certain part of the background in a plot with matlab?
Try |<http://www.mathworks.com/help/matlab/ref/rectangle.html rectangle>|. First, draw the rectangle, then the line plots (using...

12 years ago | 0

| accepted

Answered
How to identify the type of the Histogram?
Check out this tool on <http://www.mathworks.de/matlabcentral/fileexchange/36000-fbd-find-the-best-distribution-tool File Exchan...

12 years ago | 0

Answered
Computing powers in matlab
Does this do it? X = [1 2 3]; Y = [4 5 6]; A = (2.^sort(randperm(length(X)))).*X./Y A = 0.5000 1.6000 4.0000

12 years ago | 0

Answered
how do I calculate laurent series in matlab?
Hello Patrik, check out <http://www.mathworks.com/help/symbolic/mupad_ref/series.html>. What further support would you need?

12 years ago | 0

| accepted

Answered
solving transcendental equation numerically
Hello vijay, what are the equations equal to? Zero? In other words, 0 = A^3 - L*A^2.*(sqrt(M.^2 - 1) + M.^2.*acos(1./M)) -...

12 years ago | 0

Answered
I can't use the PDE toolbox, is it because I haven't buy this app?
You probably have not installed and/or licensed the PDE toolbox? Try in the MATLAB Command Window: |which -all pdetool| an...

12 years ago | 0

Answered
realtime displaying of data in gui from matlab simulink
Hello Rudraksh, see <http://blogs.mathworks.com/pick/2012/06/01/use-matlab-guis-with-simulink-models/> (Method 3).

12 years ago | 0

Answered
How to combine random size arrays in one matrix - in a loop?
Hello Jeroen, * Generate the vectors - I'll call them |b| - in your |for|-loop and keep track of the longest vector that is g...

12 years ago | 0

| accepted

Answered
Error simple program PID
Interesting. The code is just fine. Try this: copy-and-paste the code from your question above and paste it into the MATLAB ...

12 years ago | 0

Answered
getting rid of empty cells in a cell array
Try |y=x(~cellfun('isempty',x))|

12 years ago | 3

Answered
Rename a GUI and its file does not work with 'Save as'
If you like to rename the GUI you have to change *both* the |.fig| and the associated |.m| file accordingly. To generate a ne...

12 years ago | 0

Answered
Animating wave equation in Matlab
Hello Yusuf, check <http://www.mathworks.com/help/matlab/creating_plots/animation.html this> out.

12 years ago | 0

Load more