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

casi 13 años hace | 0

| aceptada

Respondida
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',@...

casi 13 años hace | 0

Respondida
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);

casi 13 años hace | 0

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

casi 13 años hace | 3

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

casi 13 años hace | 0

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 2

| aceptada

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

casi 13 años hace | 1

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 5

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 3

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 3

| aceptada

Respondida
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)

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 2

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

| aceptada

Cargar más