Risposto
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...

oltre 15 anni fa | 0

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

oltre 15 anni fa | 1

| accettato

Risposto
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...

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 2

| accettato

Risposto
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,...

oltre 15 anni fa | 0

Risposto
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...

oltre 15 anni fa | 0

| accettato

Domanda


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...

oltre 15 anni fa | 5 risposte | 4

5

risposte

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

oltre 15 anni fa | 0

Risposto
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...

oltre 15 anni fa | 1

Risposto
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...

oltre 15 anni fa | 0

Risposto
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...

oltre 15 anni fa | 0

| accettato

Risposto
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...

oltre 15 anni fa | 0

| accettato

Risposto
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>...

oltre 15 anni fa | 2

| accettato

Risposto
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...

oltre 15 anni fa | 1

Risposto
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...

oltre 15 anni fa | 4

| accettato

Risposto
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'...

oltre 15 anni fa | 0

Risposto
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; ...

oltre 15 anni fa | 1

| accettato

Risposto
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...

oltre 15 anni fa | 0

Risposto
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...

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 2

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

oltre 15 anni fa | 1

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

oltre 15 anni fa | 1

Risposto
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; ...

oltre 15 anni fa | 0

| accettato

Risposto
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-...

oltre 15 anni fa | 0

| accettato

Risposto
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...

oltre 15 anni fa | 1

| accettato

Risposto
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...

oltre 15 anni fa | 0

Risposto
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...

oltre 15 anni fa | 0

Risposto
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...

oltre 15 anni fa | 4

| accettato

Carica altro