Réponse apportée
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',@...

plus de 12 ans il y a | 0

Réponse apportée
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);

plus de 12 ans il y a | 0

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

plus de 12 ans il y a | 3

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 1

Réponse apportée
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...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
Search for line passing through a point in edge image
doc hough

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
save excel data to matfile.....
Reading excel sheet: doc xlsread Saving into matfile doc save

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 5

Réponse apportée
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...

plus de 12 ans il y a | 1

| A accepté

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

plus de 12 ans il y a | 0

Réponse apportée
??? 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.

plus de 12 ans il y a | 3

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 12 ans il y a | 0

Réponse apportée
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]...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Gui , add İmage on figure
try ... 'position',[300 200 400 600],... ...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Integration of scattered data
vq(scalar,scalar,vector) doesnt work. f=@(z)vq(zeros(size(z)),zeros(size(z)),z);

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
how to convert jpeg images to pgm format...can someone help
X = imread('ngc6543a.jpg'); imwrite(X,'test.pgm')

plus de 12 ans il y a | 3

| A accepté

Réponse apportée
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)

plus de 12 ans il y a | 0

Réponse apportée
Simulink: return values of simulation
Check out the Sinks-Library. There are _Display_-, _To Workspace_- and _To File_ Blocks.

plus de 12 ans il y a | 0

Réponse apportée
how to implement in simulink
phi -> sin(phi) with Trigonometric Function block phi_dot -> phi with Integrator block

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
darkest pixel in image
X = rand(100); [C,I] = min(X(:));

plus de 12 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Draw an arc between two points --> (x1,y1,z1) and (x2,y2,z2)
function test_sphere n = 200; THETA = rand(1,n)*2*pi; PHI = rand(1,n)*2*pi; R = 1.1*ones(1,n); [x,y,z] = sph2ca...

plus de 12 ans il y a | 0

Charger plus