Community Profile

photo

John


Last seen: fast 4 Jahre vor Aktiv seit 2014

Statistiken

  • First Review
  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


Symbolic limit does not perform the calculation
I'm trying to calculate a symbolic limit but, somehow, the calculation is not being performed...it returns the same function. I ...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Symbolic summation: how to set this index?
I'm trying to write the following symbolic sum in matlab: However, I can't define the function: T=(a^(mod(j-3,n))+ a^(n-mo...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Substituting an expression not giving intended result
I'm trying to simplify the following expression using the subs function. In the code below, I was expecting Asubs = 3*Phi. Any i...

etwa 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Symsum not making the calculation
I'm running the following symsum script: clear all; clc; syms n k S3 = symsum(((2-sqrt(3))^(k-2)+(2-sqrt(3))^(n+2-k)+(...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Output formatting for symsum script
I'm running the following symsum script: clear all; clc; syms n j S3 = symsum((2-sqrt(3))^(j-2)+(2-sqrt(3))^(n+2-j)+(2-s...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Writing function based on a vector of roots
In the following code, one of lines plotted is a vector of solutions to a nonlinear function (plotted against a parameter). I wa...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to put latex in Xtick label? (Matlab 2015b)
How can I have latex \mu and \mu_2 on the dotted lines Xtick? No other Xtick is necessary. clc; clear all; mu=0...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to change axis style?
How can I change the style of the axis lines? The a portion of the y-axis coincide with the curve being plotted. So I would like...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Legend when plot is inside a for loop
I could not get the legend to be right for this plot (which is inside a for loop). Any ideas what might have gone wrong? cl...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Horizontal line common to 2 graphs
I have two graphs in two different figures. Is it possible to have them side by side in the same figure with a horizontal line g...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


LaTeX interpreter on a legend
I want the greek letter on my legend to look like as it does in LaTeX. Here is the code: clc; clear all; phi=...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to adjust figure size when using plotyy?
I'm trying to adjust the figure size when using plotyy: clc; clear all; t = 0:.1:4*pi; y = sin(t); figu...

etwa 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to change figure size?
I'm trying to change the figure size. In the example below, I expected figure(2) to have a different size. In order to achieve t...

etwa 9 Jahre vor | 6 Antworten | 5

6

Antworten

Frage


How to adjust the legend for a variable number of plots?
In each figure I have a variable number of plots. However, in the legend I have all the plots. For instance, in the very first f...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to avoid a vertical line at discontinuity point?
When I plot a function with discontinuity points, I get a vertical line at such points, as it can be seen in this simple example...

etwa 9 Jahre vor | 5 Antworten | 1

5

Antworten

Frage


Substituting a number for NaN in anonymous function
I'm trying unsuccessfully to substitute a number for NaN in anonymous function. Here it's an example of the problem. Bear with i...

etwa 9 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Defining anonymous function using an "if" statement
I'm trying to define an anonymous function using an "if" statement. Here is a minimum "not working" example (my code is more con...

etwa 9 Jahre vor | 3 Antworten | 2

3

Antworten

Frage


How to test if each element of a matrix is not a real number?
I am trying substitute for zero each element that is not a real number, without using loops. Here is a mwe: clear all; c...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to plot this function?
I have a function that is "vectorized". I did that because I wanted to have one such function for each value of the parameter "a...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Help with anonymous function
I have always used a separate file for all my functions, but it's rather odd to have as many files as mathematical expressions i...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort