Answered
trouble with latex font labels and legends when importing tiff figure on word 2010 or LyX
Use .emf for word if possible and try .ps for Lyx.

11 years ago | 0

| accepted

Answered
Return index from Plot3 using getCursorInfo(dcm_obj);
Works for me: function test t = 0:pi/50:10*pi; plot3(sin(t),cos(t),t) uicontrol('Style', 'pushbutton','Callback',@...

11 years ago | 0

Answered
TriScatteredInterp from 3 lines to get surface
Try [xq,yq] = meshgrid(0:.01:.4, 0:.1:60); vq = F(xq,yq); mesh(xq,yq,vq);

11 years ago | 0

Answered
generate random numbers in range from (0.8 to 4)
n = 20; R = [0.8 4]; z = rand(n,1)*range(R)+min(R)

11 years ago | 3

Answered
find and store index for consecutive numbers
I guess your problem is identifying same areas in a vector. Therefore you may use this function: Isame = @(x) [1; find(diff...

11 years ago | 0

Answered
Loop code for images to plot graph
N = 22; % Number of images pix = 768*1024; % number of pixels in each image A = zeros(N,1); % preallocation for k...

11 years ago | 0

| accepted

Answered
SURF 2D. How is possible.
MATLAB help is great. doc surf Quote: _surf(Z) creates a three-dimensional shaded surface from the z components in matri...

11 years ago | 2

| accepted

Answered
how to create a loop
vENU = rand(6,400); % random data generation N = size(vENU,2); % = 400 steps (in your example) yaw_deg = zeros(1,N); % p...

11 years ago | 1

Answered
Need to write a code for this method....
Since your explanations feel like a puzzle, whats wrong with this? N = 60; % or N = length(t) t1 = 1:N; %[sec] timesteps...

11 years ago | 1

| accepted

Answered
Search for line passing through a point in edge image
doc hough

11 years ago | 0

| accepted

Answered
save excel data to matfile.....
Reading excel sheet: doc xlsread Saving into matfile doc save

11 years ago | 1

| accepted

Answered
curve fitting a power function
As I said in the comment, I think |f(x)=b*x^m| is your power function. x = [0.5 2.4 3.2 4.9 6.5 7.8]'; y = [0.8 9.3 37.9...

11 years ago | 5

Answered
how to write empty variable....
A = [] % A is empty isempty(A) % Is A empty? exist(A,'var') % Does A exist as variable? % empty and not exis...

11 years ago | 1

| accepted

Answered
how can i make an array of letters? is it possible
a = 1:26; astr = char(96+a);

11 years ago | 0

Answered
??? Index exceeds matrix dimensions. please help me
With your image height d and if p gets p=2, then you are trying to address with (p+d-1) the (d+1) pixel. Thats not possible.

11 years ago | 3

| accepted

Answered
How can I calculate the angle between two points and camera?
# Image segmentation to find the object. The method depends on your image (object ,background,etc ), simplest one, might be im2b...

11 years ago | 0

| accepted

Answered
mathlab, don't want debug this programme
Do you have the last line in a different m-file with a clear all at start? If so, clear _all_ clears also breakpoints, try only ...

11 years ago | 0

Answered
Can somebody give me an example on how to use voronoi(AX,...)
AX1 = axes('position',[0.1 0.1 0.8 0.4]); AX2 = axes('position',[0.1 0.6 0.8 0.4]); x = gallery('uniformdata',[1 10]...

11 years ago | 0

| accepted

Answered
Gui , add İmage on figure
try ... 'position',[300 200 400 600],... ...

11 years ago | 1

| accepted

Answered
Comparing Time Series data using correlation
Both, interpolation and adding zeros will work. But xcorr doesn't need same vector length. For not constant signal sample time t...

11 years ago | 0

| accepted

Answered
Integration of scattered data
vq(scalar,scalar,vector) doesnt work. f=@(z)vq(zeros(size(z)),zeros(size(z)),z);

11 years ago | 0

| accepted

Answered
applying colour for clustered image
You can define the water color. Than calculate the mean color for every cluster. Compare the mean cluster color with your define...

11 years ago | 0

Answered
how to convert jpeg images to pgm format...can someone help
X = imread('ngc6543a.jpg'); imwrite(X,'test.pgm')

11 years ago | 3

| accepted

Answered
Plotting graph using M-file.
k = 0; for m = 1:10:100 k = k+1; y(k)=m+2; t=y(k)^2+4; x(k) = (2*t-1); end plot(x,y)

11 years ago | 0

Answered
Simulink: return values of simulation
Check out the Sinks-Library. There are _Display_-, _To Workspace_- and _To File_ Blocks.

11 years ago | 0

Answered
how to implement in simulink
phi -> sin(phi) with Trigonometric Function block phi_dot -> phi with Integrator block

11 years ago | 0

| accepted

Answered
How I can do edge detection to almost white picture where are black lines/edges?
This demo might answer your question: <http://www.mathworks.de/products/image/examples.html?file=/products/demos/shipping/image...

11 years ago | 0

| accepted

Answered
darkest pixel in image
X = rand(100); [C,I] = min(X(:));

11 years ago | 2

| accepted

Answered
How to understand R of the regresion plot in neural network training?
y = sim(net,inputn); r = regression(outputn,y); % r for every objective R = regression(outputn(:)',y(:)'); % R from plot...

11 years ago | 0

| accepted

Answered
How to merge digits from a step signal into a single number(Simulink)?
"User-Defined Functions" is an option. As another possibility (among many) you can take "Triggered Subsystems", with the trig...

11 years ago | 0

| accepted

Load more