Frage


Implementing an hgsetget subclass
I would like to create a subclass of <http://www.mathworks.com/help/techdoc/ref/hgsetget.html hgsetget> that would show this kin...

etwa 15 Jahre vor | 4 Antworten | 1

4

Antworten

Beantwortet
Notimplemented GE function
If Walter is right and it's a cell array, you could do this: ipos = [A{:}]>0; if any(ipos) Asum = sum(A{ipos}); else...

etwa 15 Jahre vor | 0

Beantwortet
uitable: Can the headers be made clickable?
A reasonable substitute for clicking on the column headers would be to create a context menu using UIContextMenu. But clicking o...

etwa 15 Jahre vor | 0

Frage


uitable: Can the headers be made clickable?
I would like to sort the entries in a table by by clicking on the column header for the variable I want to sort. Is there a way ...

etwa 15 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
Basic Function Error (Plot Related
You've got the dot and the star in the wrong order, and you don't need the dot anyway for multiplying by a scalar. Try this: ...

etwa 15 Jahre vor | 0

Beantwortet
Iterating to find value S
Jason, here is a sketch of what you need to do. First, you need to create a function y = f(S,Q,W,etc.) in a separate file ...

etwa 15 Jahre vor | 0

Beantwortet
Inversion of ill Contioned Matrices
If you have the <http://www.mathworks.com/products/symbolic/ Symbolic Toolbox>, you could try variable precision arithmetic: ...

etwa 15 Jahre vor | 0

Beantwortet
image processing
Try reading <http://blogs.mathworks.com/steve/2006/06/02/cell-segmentation/ this article on cell segmentation>.

etwa 15 Jahre vor | 0

Beantwortet
Load a Text File in a GUI
Try <http://www.mathworks.com/help/techdoc/ref/xlsread.html xlsread>. *EDIT:* Simply A = importdata(filename) might do the ...

etwa 15 Jahre vor | 0

Beantwortet
Some Foreign Matlab forums
LinkedIn has a "MATLAB Users and Integrators" group, but it's not very active. As with other LinkedIn sites, it has more to do w...

etwa 15 Jahre vor | 2

Beantwortet
Evaluating a double integral using the trapezoidal rule
How about this: N = 101; x = linspace(0,2,N)*pi; y = linspace(1,10,N); dx = diff(x(1:2)); dy = diff(y(1:2)); [x,y] = ...

etwa 15 Jahre vor | 0

| akzeptiert

Beantwortet
Dumb mistakes we make with MATLAB.
Trying to edit a command already visible in the Command Window: >> x=3 x = 3 Now put the cursor up beside x...

etwa 15 Jahre vor | 17

Beantwortet
Questions about median, medfilt1, medfilt2
Question 1: I get [3 3 5 0 0]. Maybe you have another medfilt1 on your path. What do you get if you type which medfilt1 -al...

etwa 15 Jahre vor | 0

Beantwortet
How do i execute expanding bracket problems?
If you have the <http://www.mathworks.com/help/toolbox/symbolic/ Symbolic Toolbox>, you can do this: syms a b expand((a+...

etwa 15 Jahre vor | 1

Beantwortet
please help me in loading data to matlab
You can use <http://www.mathworks.com/help/techdoc/ref/textscan.html textscan> to read in the data as a comma-delimited set of s...

etwa 15 Jahre vor | 2

Beantwortet
Dumb mistakes we make with MATLAB.
The case of the misplaced transpose: v1'*v2 instead of v1*v2'

etwa 15 Jahre vor | 1

Beantwortet
Dumb mistakes we make with MATLAB.
While in the debugger, typing *quit* instead of *dbquit* kills Matlab! (My earlier version of this answer may have been too cry...

etwa 15 Jahre vor | 0

Beantwortet
Dumb mistakes we make with MATLAB.
Rejoice - now you can do it object-oriented style! >> ME = MException ??? Error using ==> MException Not enough input arg...

etwa 15 Jahre vor | 0

Beantwortet
how to control program output in the way warning() does
You could use <http://www.mathworks.com/help/techdoc/ref/disp.html disp>.

etwa 15 Jahre vor | 0

Beantwortet
A question on minimizing a composition function with multiple variables how to min g(f(x), k(x),w(x))?
It's just the use of round parentheses to gather the variables. Is this what you're trying to do? f = @(x) x; k = @(x) x...

etwa 15 Jahre vor | 0

Beantwortet
Radial basis function and gradiant descent
You could try <http://www.mathworks.com/matlabcentral/fileexchange/22173-radial-basis-function-network Radial basis function net...

etwa 15 Jahre vor | 0

Beantwortet
eval inside arrayfun gives strange error
If you put the function function y = f(x) y = eval(sprintf('vec_%d',x)); in a separate file and run the debugger, you'll ...

etwa 15 Jahre vor | 0

| akzeptiert

Beantwortet
Convert .txt to .spc
If you have the <http://www.mathworks.com/products/statistics/ Statistics Toolbox>, you could try <http://www.mathworks.com/matl...

etwa 15 Jahre vor | 0

Beantwortet
What is missing from MATLAB?
The *ungroup* action for a compound graphics object like *lineseries*.

etwa 15 Jahre vor | 1

Beantwortet
[DISCONTINUED] Wish-list for MATLAB Answer sections.
There should be a way of uploading a data file so that people can retrieve it but it doesn't take up a lot of space on the displ...

etwa 15 Jahre vor | 3

Beantwortet
directional filter for detecting edges on a circle and rectangle
Do you have the Image Processing Toolbox? If so, you could detect edges using the <http://www.mathworks.com/help/toolbox/images/...

etwa 15 Jahre vor | 1

Beantwortet
STEM3 plot with different colors
I think the short answer is - not easily. Let's take this example from the stem3 documentation: figure X = linspace(0,1,10...

etwa 15 Jahre vor | 0

Beantwortet
using relational operators with the symbolic math toolbox?
If you have assigned numeric values to your symbolic variables, you could do something like this: syms x y x = 1; y = 2; ...

etwa 15 Jahre vor | 0

Beantwortet
Trying to find the area of a complex-shaped hysteresis loop
Your data are not very smooth, so I would just use this: Area = polyarea(displacement,force)

etwa 15 Jahre vor | 0

Beantwortet
Numerical integration while keeping the parameters
Now that we know that you are integrating a function f(a,b,x) from zero to infinity, you can do something like this: f = @(...

etwa 15 Jahre vor | 1

Mehr laden