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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 3

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 2

| accettato

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 5

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 3

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 3

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 2

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

| accettato

Carica altro