Answered
Curve fitting with no input give
Do you mean you want to fit a curve to no data? That sounds easy, for I would think that just any curve can fit no data with eq...

15 years ago | 0

Answered
Notepad focus window
It works here. command = sprintf ('notepad %s', [pwd,'\myfile.m']); system (command); Did you mean that you want MATL...

15 years ago | 1

| accepted

Answered
storing of values in matlab
You need to stop posting many questions on the exact same subject, take a deep breath, and figure out *_exactly_* what you are t...

15 years ago | 0

Answered
what the symbol r represent in this equation
It looks like an independent variable.

15 years ago | 0

| accepted

Answered
Rotation of Tick Labels
Look on the <http://www.mathworks.com/matlabcentral/fileexchange/?term=rotate+labels File Exchange>.

15 years ago | 2

| accepted

Answered
Programming the push button
Put the name of the M-file in the callback function to the pushbutton. For example, if the M-file you wish to run is: myfile.m,...

15 years ago | 0

Answered
Polynomial curve fitting--how to use cubic
Do you mean, how to get the coefficients from the command line? PP = polyfit(1:length(x),x,3); *EDIT* To plot the polynomial...

15 years ago | 0

| accepted

Question


Attack of the spammers?
This message was sent to you via your profile page at MATLAB Answers. Hello My name is miss Jelin,i am looking for a...

15 years ago | 5 answers | 4

5

answers

Answered
solve by substitution method
Do you have a question? One related to MATLAB?

15 years ago | 0

Answered
lagrange interpolation, .m
This is really a question for the author of the program. I believe it is also bad etiquette to post somebody's code like that w...

15 years ago | 1

Answered
x and y axis labels
I am not sure why this doesn't work, but the latex for a bar is: '\=x' that is, according to: <http://www.stdout.org/~wins...

15 years ago | 0

Answered
Plot - Grid problem : I need grid for each increment in x
% First your plot: y=[8 0 5 5 4 0 8 1 7 3 5 1 4 8 2 7 2 0 ]; x=[ 1 0 4 0 5 1 5 1 8 3 4 6 4 7]; Tx=length(x); Ty...

15 years ago | 0

| accepted

Answered
Problem with Gui with two Listboxes and a popup menu
I would bet that you have the 'value' property of the disappearing listbox set to a number that is more than the number of items...

15 years ago | 0

| accepted

Answered
isequal fails with equal structs
isequal(@(x) sin(x),@(x) sin(x)) <http://www.mathworks.com/help/techdoc/matlab_prog/f2-38133.html#brlptk1-7 Never>...

15 years ago | 2

| accepted

Answered
Error in horzcat
It would really help if you indicated which line errors, as I am sure you could guess if you put yourself in our shoes - but any...

15 years ago | 1

Answered
Assigning an index to each row based on column values in a matrix.
[As,I] = sortrows(a); As = any([1 1;diff(As(:,1:2))],2); I = As(I) . . *EDIT* The above will not work always, but th...

15 years ago | 4

| accepted

Answered
Multi-line Titles in LaTeX on Response Plots
So trick MATLAB! close all % So you know I am starting fresh T = title({'First line','Second line'}); set(gca,'visible'...

15 years ago | 0

Answered
Matlab question in connecting dots..?
Try this instead: tfinal = 75; hla = 1; hlb = 5; la = log(2)/hla; lb = log(2)/hlb; n0 = 100 ; timestep = 1; ...

15 years ago | 1

| accepted

Answered
Turning off auto-grouping of lines into lineseries
I am a little confused. All of the objects returned by the PLOT function are lineseries objects. Can you give an example FOR l...

15 years ago | 0

Answered
hold data from a regular plot to a semilog plot
It is not clear to me whether you want to have two different curves, one in linear scale and the other in logarithmic scale or w...

15 years ago | 0

| accepted

Answered
Permutation/shuffling of number sets
Here is another method, using <http://www.mathworks.com/matlabcentral/fileexchange/11462-npermutek NPERMUTEK>: P = logical(...

15 years ago | 2

Answered
plot multiple eval output
Use cell arrays instead, as the FAQ shows. for n=1:nframes figure Fr{n} = slices(:,:,n); imagesc(Fr...

15 years ago | 1

Answered
Command Line Edit Font Preferences
See this article: <http://undocumentedmatlab.com/blog/changing-system-preferences-programmatically/ Changing system prefs p...

15 years ago | 1

Answered
How to plot this function?
If you want to do it manually, try this: f = @(z) quadv(@(x) (1/(3*sqrt(2*pi)))*exp(-(x-30).^2/18),z,100); Z = 0:.25:50; ...

15 years ago | 0

| accepted

Answered
How to plot this function?
Try this instead: x=0:10:200; y=0:0.05:1; [X,Y]=meshgrid(x,y); Z=(-0.5)*X.*(X+1).*(X-1).*((Y.^X./X)-(2*(Y.^(X-1))./(X-...

15 years ago | 0

| accepted

Answered
How to overwrite built-in fprintf
You cannot overwrite it, but you can mask it. Put a new M-file in your directory called 'fprintf.m' Then when you call FPRINTF...

15 years ago | 1

| accepted

Answered
Select a line object using the mouse
If you are looking for a quick and dirty way to get the handle from a click, you can do this: x = 0:.001:1; L = plot(x,x.^2...

15 years ago | 0

Answered
I made a function file but it is not readig in my other file. I need help having it read and possibly with my for loop also.
You should go back and format your question with the code format button! If we re-write your velocity function as: funct...

15 years ago | 0

Answered
Can a MATLAB script run silently?
Why would the script be displaying anything? Go through the script and make sure there are no calls to DISP, and every line end...

15 years ago | 4

| accepted

Load more