Category: Matlab
Category Archives: Matlab
Why does my simulation give different results in parsim or batchsim than it does in sim?
I have a simulation that I want to run in parsim, but I have noticed that the simulations output is different than when I run in serial simulation. Why could that be?I have a simulation that I want to run in parsim, but I have noticed that the simulations output is different than when I run in serial simulation. Why could that be? I have a simulation that I want to run in parsim, but I have noticed that the simulations output is different than when I run in serial simulation. Why could that be? parsim, results, different, sim MATLAB Answers — New Questions
Building sparse matrix inside parfor
I’m building a large sparse matrix in smaller pieces. Unfortunately the pieces overlap a bit. At the moment I’m building each piece to match the final size and after the loop I sum the pieces together. I have tried following approaches
1) I tried summing up sparse matrixes inside parfor. Bad idea. Produces full matrix.
2) Build index vectors for each piece of the matrix and combine the index vectors inside parfor. Then use one sparse command after the loop to build the final matrix. This, unfortunately, is rather slow. The reason might be the repetitive entries that the sparse command needs to sum up.
3) Build sparse matrix of each piece and store them in cell array inside parfor. Then sum up the sparse matrixes inside regular for loop. This is the best so far; fast and reliable. (See the pseudocode below.)
4) This is the problematic case: Build sparse vectors out of each piece and store them in cell array. Then sum up the sparse vectors inside regular for loop, and reshape to matrix. Unfortunately for larger systems it crashes with
Error using parallel_function (line 598)
Error during serialization
Error stack:
remoteParallelFunction.m at 31
As a for loop it runs just fine.
Below is some pseudocode to shed light on what I’m doing:
First option 3) that always works.
Aset = cell(1,Nsets) ;
parfor S=1:Nsets
% Do lots of stuff to get iind, jind, Aval
Aset{S} = sparse( iind, jind, Aval, Ndof, Ndof );
end
A = Aset{1};
for S=2:Nsets
A = A + Aset{S} ;
end
Option 4) that gives the error:
Aset = cell(1,Nsets) ;
parfor S=1:Nsets
% Do lots of stuff to get iind, jind, Aval
matind = iind +Ndof*( jind-1 );
Aset{S} = sparse( matind, ones(size(matind)), Aval, Ndof*Ndof, 1 ) ;
end
A = Aset{1};
for S=2:Nsets
A = A + Aset{S} ;
end
A = reshape(A,Ndof,Ndof) ;
Any ideas why option 4 crashes?
How should I do this to gain speed?
The size of the final matrix, i.e. Ndof, is few millions. Number of matrix pieces, i.e. Nsets, is 10 to 30. For option 3 it takes roughly 30 seconds to sum the matrixes of size Ndof=4000000.I’m building a large sparse matrix in smaller pieces. Unfortunately the pieces overlap a bit. At the moment I’m building each piece to match the final size and after the loop I sum the pieces together. I have tried following approaches
1) I tried summing up sparse matrixes inside parfor. Bad idea. Produces full matrix.
2) Build index vectors for each piece of the matrix and combine the index vectors inside parfor. Then use one sparse command after the loop to build the final matrix. This, unfortunately, is rather slow. The reason might be the repetitive entries that the sparse command needs to sum up.
3) Build sparse matrix of each piece and store them in cell array inside parfor. Then sum up the sparse matrixes inside regular for loop. This is the best so far; fast and reliable. (See the pseudocode below.)
4) This is the problematic case: Build sparse vectors out of each piece and store them in cell array. Then sum up the sparse vectors inside regular for loop, and reshape to matrix. Unfortunately for larger systems it crashes with
Error using parallel_function (line 598)
Error during serialization
Error stack:
remoteParallelFunction.m at 31
As a for loop it runs just fine.
Below is some pseudocode to shed light on what I’m doing:
First option 3) that always works.
Aset = cell(1,Nsets) ;
parfor S=1:Nsets
% Do lots of stuff to get iind, jind, Aval
Aset{S} = sparse( iind, jind, Aval, Ndof, Ndof );
end
A = Aset{1};
for S=2:Nsets
A = A + Aset{S} ;
end
Option 4) that gives the error:
Aset = cell(1,Nsets) ;
parfor S=1:Nsets
% Do lots of stuff to get iind, jind, Aval
matind = iind +Ndof*( jind-1 );
Aset{S} = sparse( matind, ones(size(matind)), Aval, Ndof*Ndof, 1 ) ;
end
A = Aset{1};
for S=2:Nsets
A = A + Aset{S} ;
end
A = reshape(A,Ndof,Ndof) ;
Any ideas why option 4 crashes?
How should I do this to gain speed?
The size of the final matrix, i.e. Ndof, is few millions. Number of matrix pieces, i.e. Nsets, is 10 to 30. For option 3 it takes roughly 30 seconds to sum the matrixes of size Ndof=4000000. I’m building a large sparse matrix in smaller pieces. Unfortunately the pieces overlap a bit. At the moment I’m building each piece to match the final size and after the loop I sum the pieces together. I have tried following approaches
1) I tried summing up sparse matrixes inside parfor. Bad idea. Produces full matrix.
2) Build index vectors for each piece of the matrix and combine the index vectors inside parfor. Then use one sparse command after the loop to build the final matrix. This, unfortunately, is rather slow. The reason might be the repetitive entries that the sparse command needs to sum up.
3) Build sparse matrix of each piece and store them in cell array inside parfor. Then sum up the sparse matrixes inside regular for loop. This is the best so far; fast and reliable. (See the pseudocode below.)
4) This is the problematic case: Build sparse vectors out of each piece and store them in cell array. Then sum up the sparse vectors inside regular for loop, and reshape to matrix. Unfortunately for larger systems it crashes with
Error using parallel_function (line 598)
Error during serialization
Error stack:
remoteParallelFunction.m at 31
As a for loop it runs just fine.
Below is some pseudocode to shed light on what I’m doing:
First option 3) that always works.
Aset = cell(1,Nsets) ;
parfor S=1:Nsets
% Do lots of stuff to get iind, jind, Aval
Aset{S} = sparse( iind, jind, Aval, Ndof, Ndof );
end
A = Aset{1};
for S=2:Nsets
A = A + Aset{S} ;
end
Option 4) that gives the error:
Aset = cell(1,Nsets) ;
parfor S=1:Nsets
% Do lots of stuff to get iind, jind, Aval
matind = iind +Ndof*( jind-1 );
Aset{S} = sparse( matind, ones(size(matind)), Aval, Ndof*Ndof, 1 ) ;
end
A = Aset{1};
for S=2:Nsets
A = A + Aset{S} ;
end
A = reshape(A,Ndof,Ndof) ;
Any ideas why option 4 crashes?
How should I do this to gain speed?
The size of the final matrix, i.e. Ndof, is few millions. Number of matrix pieces, i.e. Nsets, is 10 to 30. For option 3 it takes roughly 30 seconds to sum the matrixes of size Ndof=4000000. parfor, sparse MATLAB Answers — New Questions
filtfilt Does Not Perform Zero-Phase Filtering. Does It Matter?
The doc page for filtfilt claims that the function "performs zero-phase digital filtering" and then goes on to describe the expected characteristics of a zero-phase output. It’s pretty easy to show that this claim is false.
Generate some input data
rng(100);
x = rand(1,50);
Define a simple FIR filter
b = 1:4;
a = 1;
The zero-phase filtered output y and its associated discrete times can be computed as
h = b; % filter impulse resonse
y2 = conv(fliplr(h),conv(h,x)); % zero-phase, filtered output
Nh = numel(h); % length of impulse response
Nx = numel(x); % length of input
ny2 = -(Nh-1) : Nh + Nx – 2; % time of output
As must be the case, the output is longer than the input, and the output extends to the left into negative time.
We can show that y2 satisfies the properties for zero-phase filtering
Compute the DTFT of the input and the impulse response
[X,w] = freqz(x,1,1000);
H = freqz(b,a,w);
Compute the DTFT of the output
Y2 = freqz(y2,1,w).*exp(-1j*ny2(1)*w);
The phase of Y2 relative to X is (essentially) zero
figure
plot(w,angle(Y2./X)),xlabel(‘rad’),ylabel(‘rad’)
The magnitude of Y2 relative to X is the square of the magitude of the transfer function
figure
semilogy(w,abs(Y2./X),’DisplayName’,’abs(Y2/X)’)
hold on
semilogy(w,abs(H).^2,’ro’,’MarkerIndices’,1:20:numel(w),’DisplayName’,’abs(H)^2′)
xlabel(‘rad’),ylabel(‘Amplitude’)
legend
Now compare the output of filtfilt() to the zero-phase output
y4 = filtfilt(b,a,x);
ny4 = 0:numel(y4) – 1;
figure
stem(ny2,y2,’DisplayName’,’zero-phase’)
hold on
stem(ny4,y4,’x’,’DisplayName’,’filtfilt’)
legend("Location",’Best’)
The differences are apparent at the edges, undoubtedly because filtfilt() also takes actation that "minimizes start-up and ending transients." However, such action kills the "zero-phase" intent of the function. Even though it looks like the output of filtfilt() is close to the zero-phase output, the phase response really isn’t even close to zero-phase and the magnitude response isn’t abs(H)^2, even after taking into account that filtfilt() only returns the values of the output that correspond to the time samples of the input (it doesn’t return the computed values that extend past the left and right edges of the input).
Edit 13 April 2023
Here is the frequency domain assesment of the output of filtfilt as seen by the user. I didn’t include it in the original post because the output of filtfilt to the user doesn’t include the extra points that extend off the edges of the result that filtfilt computes internally but chops off before returning to the user to make the output points correspond to the input points. However, I’ve looked at those when debugging and they don’t really change the story and I thinkg these plots may be of interest.
Y4 = freqz(y4,1,w);
figure
semilogy(w,abs(Y4./X),’DisplayName’,’abs(Y4/X)’)
hold on
semilogy(w,abs(H).^2,’ro’,’MarkerIndices’,1:20:numel(w),’DisplayName’,’abs(H)^2′)
xlabel(‘rad’),ylabel(‘Amplitude’)
legend
figure
plot(w,angle(Y4./X)),xlabel(‘rad’),ylabel(‘rad’)
Are there applications where the true, zero-phase response (or at least its portion that corresponds to the time samples of the input) is desired?
Should filtfilt() include an option to not minimize transients for applications that need a true, zero-phase filter?
At a minimum, shouldn’t the filtfilt() doc page be updated?
Related to that last question, I think it’s interesting (if not telling) that other functions, like lowpass, that I think operate nearly exactly, if not exactly, the same as filtfilt() only claim that the function "compensates for the delay introduced by the filter."The doc page for filtfilt claims that the function "performs zero-phase digital filtering" and then goes on to describe the expected characteristics of a zero-phase output. It’s pretty easy to show that this claim is false.
Generate some input data
rng(100);
x = rand(1,50);
Define a simple FIR filter
b = 1:4;
a = 1;
The zero-phase filtered output y and its associated discrete times can be computed as
h = b; % filter impulse resonse
y2 = conv(fliplr(h),conv(h,x)); % zero-phase, filtered output
Nh = numel(h); % length of impulse response
Nx = numel(x); % length of input
ny2 = -(Nh-1) : Nh + Nx – 2; % time of output
As must be the case, the output is longer than the input, and the output extends to the left into negative time.
We can show that y2 satisfies the properties for zero-phase filtering
Compute the DTFT of the input and the impulse response
[X,w] = freqz(x,1,1000);
H = freqz(b,a,w);
Compute the DTFT of the output
Y2 = freqz(y2,1,w).*exp(-1j*ny2(1)*w);
The phase of Y2 relative to X is (essentially) zero
figure
plot(w,angle(Y2./X)),xlabel(‘rad’),ylabel(‘rad’)
The magnitude of Y2 relative to X is the square of the magitude of the transfer function
figure
semilogy(w,abs(Y2./X),’DisplayName’,’abs(Y2/X)’)
hold on
semilogy(w,abs(H).^2,’ro’,’MarkerIndices’,1:20:numel(w),’DisplayName’,’abs(H)^2′)
xlabel(‘rad’),ylabel(‘Amplitude’)
legend
Now compare the output of filtfilt() to the zero-phase output
y4 = filtfilt(b,a,x);
ny4 = 0:numel(y4) – 1;
figure
stem(ny2,y2,’DisplayName’,’zero-phase’)
hold on
stem(ny4,y4,’x’,’DisplayName’,’filtfilt’)
legend("Location",’Best’)
The differences are apparent at the edges, undoubtedly because filtfilt() also takes actation that "minimizes start-up and ending transients." However, such action kills the "zero-phase" intent of the function. Even though it looks like the output of filtfilt() is close to the zero-phase output, the phase response really isn’t even close to zero-phase and the magnitude response isn’t abs(H)^2, even after taking into account that filtfilt() only returns the values of the output that correspond to the time samples of the input (it doesn’t return the computed values that extend past the left and right edges of the input).
Edit 13 April 2023
Here is the frequency domain assesment of the output of filtfilt as seen by the user. I didn’t include it in the original post because the output of filtfilt to the user doesn’t include the extra points that extend off the edges of the result that filtfilt computes internally but chops off before returning to the user to make the output points correspond to the input points. However, I’ve looked at those when debugging and they don’t really change the story and I thinkg these plots may be of interest.
Y4 = freqz(y4,1,w);
figure
semilogy(w,abs(Y4./X),’DisplayName’,’abs(Y4/X)’)
hold on
semilogy(w,abs(H).^2,’ro’,’MarkerIndices’,1:20:numel(w),’DisplayName’,’abs(H)^2′)
xlabel(‘rad’),ylabel(‘Amplitude’)
legend
figure
plot(w,angle(Y4./X)),xlabel(‘rad’),ylabel(‘rad’)
Are there applications where the true, zero-phase response (or at least its portion that corresponds to the time samples of the input) is desired?
Should filtfilt() include an option to not minimize transients for applications that need a true, zero-phase filter?
At a minimum, shouldn’t the filtfilt() doc page be updated?
Related to that last question, I think it’s interesting (if not telling) that other functions, like lowpass, that I think operate nearly exactly, if not exactly, the same as filtfilt() only claim that the function "compensates for the delay introduced by the filter." The doc page for filtfilt claims that the function "performs zero-phase digital filtering" and then goes on to describe the expected characteristics of a zero-phase output. It’s pretty easy to show that this claim is false.
Generate some input data
rng(100);
x = rand(1,50);
Define a simple FIR filter
b = 1:4;
a = 1;
The zero-phase filtered output y and its associated discrete times can be computed as
h = b; % filter impulse resonse
y2 = conv(fliplr(h),conv(h,x)); % zero-phase, filtered output
Nh = numel(h); % length of impulse response
Nx = numel(x); % length of input
ny2 = -(Nh-1) : Nh + Nx – 2; % time of output
As must be the case, the output is longer than the input, and the output extends to the left into negative time.
We can show that y2 satisfies the properties for zero-phase filtering
Compute the DTFT of the input and the impulse response
[X,w] = freqz(x,1,1000);
H = freqz(b,a,w);
Compute the DTFT of the output
Y2 = freqz(y2,1,w).*exp(-1j*ny2(1)*w);
The phase of Y2 relative to X is (essentially) zero
figure
plot(w,angle(Y2./X)),xlabel(‘rad’),ylabel(‘rad’)
The magnitude of Y2 relative to X is the square of the magitude of the transfer function
figure
semilogy(w,abs(Y2./X),’DisplayName’,’abs(Y2/X)’)
hold on
semilogy(w,abs(H).^2,’ro’,’MarkerIndices’,1:20:numel(w),’DisplayName’,’abs(H)^2′)
xlabel(‘rad’),ylabel(‘Amplitude’)
legend
Now compare the output of filtfilt() to the zero-phase output
y4 = filtfilt(b,a,x);
ny4 = 0:numel(y4) – 1;
figure
stem(ny2,y2,’DisplayName’,’zero-phase’)
hold on
stem(ny4,y4,’x’,’DisplayName’,’filtfilt’)
legend("Location",’Best’)
The differences are apparent at the edges, undoubtedly because filtfilt() also takes actation that "minimizes start-up and ending transients." However, such action kills the "zero-phase" intent of the function. Even though it looks like the output of filtfilt() is close to the zero-phase output, the phase response really isn’t even close to zero-phase and the magnitude response isn’t abs(H)^2, even after taking into account that filtfilt() only returns the values of the output that correspond to the time samples of the input (it doesn’t return the computed values that extend past the left and right edges of the input).
Edit 13 April 2023
Here is the frequency domain assesment of the output of filtfilt as seen by the user. I didn’t include it in the original post because the output of filtfilt to the user doesn’t include the extra points that extend off the edges of the result that filtfilt computes internally but chops off before returning to the user to make the output points correspond to the input points. However, I’ve looked at those when debugging and they don’t really change the story and I thinkg these plots may be of interest.
Y4 = freqz(y4,1,w);
figure
semilogy(w,abs(Y4./X),’DisplayName’,’abs(Y4/X)’)
hold on
semilogy(w,abs(H).^2,’ro’,’MarkerIndices’,1:20:numel(w),’DisplayName’,’abs(H)^2′)
xlabel(‘rad’),ylabel(‘Amplitude’)
legend
figure
plot(w,angle(Y4./X)),xlabel(‘rad’),ylabel(‘rad’)
Are there applications where the true, zero-phase response (or at least its portion that corresponds to the time samples of the input) is desired?
Should filtfilt() include an option to not minimize transients for applications that need a true, zero-phase filter?
At a minimum, shouldn’t the filtfilt() doc page be updated?
Related to that last question, I think it’s interesting (if not telling) that other functions, like lowpass, that I think operate nearly exactly, if not exactly, the same as filtfilt() only claim that the function "compensates for the delay introduced by the filter." filtfilt, zero-phase filter MATLAB Answers — New Questions
Cannot make Linearization work
Still after watching several tutorials I cannot make the Model Linearizer work as I hope it shoud (and how it seems to work for anybody else)
I have the following Simuling model:
Everything on Simuling works fine, I get this output from the measurement probe:
Then I mark the step input as Linear Analysis Point/Open-loop input (tried also with Input perturbation) and the probe signal as Linear Analysis Point/Output measurement. Then I start the Model linearizer (in many videos I see that it is called from a menu item that doesn’t show up in my Simuling: Analysis/Contro Design/Linear analsys, but I assume it is the same, probably just different software releases).
Finally, when I hit "Step" or "Bode", all I get is a flat response (basically only the steady-state value):
What am I missing? I also tried playing around with different operating points (i.e., [0, 1, 1.1, 2, ….] to no avail.
I would expect to get the same output, and from there extract the transfer function. Thanks for any helpStill after watching several tutorials I cannot make the Model Linearizer work as I hope it shoud (and how it seems to work for anybody else)
I have the following Simuling model:
Everything on Simuling works fine, I get this output from the measurement probe:
Then I mark the step input as Linear Analysis Point/Open-loop input (tried also with Input perturbation) and the probe signal as Linear Analysis Point/Output measurement. Then I start the Model linearizer (in many videos I see that it is called from a menu item that doesn’t show up in my Simuling: Analysis/Contro Design/Linear analsys, but I assume it is the same, probably just different software releases).
Finally, when I hit "Step" or "Bode", all I get is a flat response (basically only the steady-state value):
What am I missing? I also tried playing around with different operating points (i.e., [0, 1, 1.1, 2, ….] to no avail.
I would expect to get the same output, and from there extract the transfer function. Thanks for any help Still after watching several tutorials I cannot make the Model Linearizer work as I hope it shoud (and how it seems to work for anybody else)
I have the following Simuling model:
Everything on Simuling works fine, I get this output from the measurement probe:
Then I mark the step input as Linear Analysis Point/Open-loop input (tried also with Input perturbation) and the probe signal as Linear Analysis Point/Output measurement. Then I start the Model linearizer (in many videos I see that it is called from a menu item that doesn’t show up in my Simuling: Analysis/Contro Design/Linear analsys, but I assume it is the same, probably just different software releases).
Finally, when I hit "Step" or "Bode", all I get is a flat response (basically only the steady-state value):
What am I missing? I also tried playing around with different operating points (i.e., [0, 1, 1.1, 2, ….] to no avail.
I would expect to get the same output, and from there extract the transfer function. Thanks for any help linearization, transfer function, simulink MATLAB Answers — New Questions
How do I find and plot the average of action potentials from a trace?
Hi,
I need to find the average wave from several in a trace.
I would like to produce a figure where the action potentials are stacked, with their average incorporated into the figure.
I only managed to find peaks in the waveform and plot them but I don’t know how to proceed.
%What I have so far:
clear
close all
D = load(‘C:UsersrsanaDesktopAPAnalysisS2C1_17082020_WM4peaks.mat’);
F = fieldnames(D);
C = struct2cell(D);
vm = C{1}.values; % Signal Vector
L1 = numel(vm); % Length
% Set Time Vector for ms Interval
t = linspace(0, L1, L1).’*C{1}.interval;
% Determine peaks, time interval, and cutoff for APs
[peaks, int, W] = findpeaks(vm, ‘WidthReference’, ‘halfprom’);
figure
plot(t, vm)
hold on
plot(t(int), peaks, ‘+r’)
hold off
xlabel(‘Time (s)’)
ylabel(‘Voltage (mV)’)
%%%
The above generates labelled peaks. So I am wondering how to extract, stack, and average them.
Thank you,
RoksanaHi,
I need to find the average wave from several in a trace.
I would like to produce a figure where the action potentials are stacked, with their average incorporated into the figure.
I only managed to find peaks in the waveform and plot them but I don’t know how to proceed.
%What I have so far:
clear
close all
D = load(‘C:UsersrsanaDesktopAPAnalysisS2C1_17082020_WM4peaks.mat’);
F = fieldnames(D);
C = struct2cell(D);
vm = C{1}.values; % Signal Vector
L1 = numel(vm); % Length
% Set Time Vector for ms Interval
t = linspace(0, L1, L1).’*C{1}.interval;
% Determine peaks, time interval, and cutoff for APs
[peaks, int, W] = findpeaks(vm, ‘WidthReference’, ‘halfprom’);
figure
plot(t, vm)
hold on
plot(t(int), peaks, ‘+r’)
hold off
xlabel(‘Time (s)’)
ylabel(‘Voltage (mV)’)
%%%
The above generates labelled peaks. So I am wondering how to extract, stack, and average them.
Thank you,
Roksana Hi,
I need to find the average wave from several in a trace.
I would like to produce a figure where the action potentials are stacked, with their average incorporated into the figure.
I only managed to find peaks in the waveform and plot them but I don’t know how to proceed.
%What I have so far:
clear
close all
D = load(‘C:UsersrsanaDesktopAPAnalysisS2C1_17082020_WM4peaks.mat’);
F = fieldnames(D);
C = struct2cell(D);
vm = C{1}.values; % Signal Vector
L1 = numel(vm); % Length
% Set Time Vector for ms Interval
t = linspace(0, L1, L1).’*C{1}.interval;
% Determine peaks, time interval, and cutoff for APs
[peaks, int, W] = findpeaks(vm, ‘WidthReference’, ‘halfprom’);
figure
plot(t, vm)
hold on
plot(t(int), peaks, ‘+r’)
hold off
xlabel(‘Time (s)’)
ylabel(‘Voltage (mV)’)
%%%
The above generates labelled peaks. So I am wondering how to extract, stack, and average them.
Thank you,
Roksana waveform analysis, average action potential MATLAB Answers — New Questions
image coordinates to robot coordinates
Hello to Community members.
2D image coordinates to 3D robot coordinates is an old topic with so many threads but there is a confusion i need to ask..
i am working on a project of guiding the 6 DOF ABB Industrial robotic arm using a Full HD Webcam to reach a designated location. Almost all the previous threads i have gone through mentions calibration and transformation of smaller robots where calculations between image and robot base can be done usign small ruler.
2nd camera is calibrated using checkerboard method. which is suggested to be calibrated using 20 or more checkerboard images. after calibration it gives "Rotation Matrices of 3*3 for 20 images and translational vectors of 1*3 for 20 images.
As in actual process guide, for camera extrinsic calculation R and T matrices are used, Which one rotataion and translational vector among these 20 we will use for calculation of base transformation in actual process guide? Sorry for a childish question but i will be thankful for a decent guide.
can somebody share his experience in detail that how to transform or map 2D image coordinates of calibrated fisheye camera to 3D robot coordinates (for 6 dof industrial robot) so the robotic arm moves to exact position deteted by webcam.? (Distance in real time between Image coordinates (u,v) and robot 3D coordinate (x,y,z) of base or TCP.
i am not asking for a complete solution, rather i need some useful hints to guide me in proper way. (the camera will be mounted on robotic arm)
regardssHello to Community members.
2D image coordinates to 3D robot coordinates is an old topic with so many threads but there is a confusion i need to ask..
i am working on a project of guiding the 6 DOF ABB Industrial robotic arm using a Full HD Webcam to reach a designated location. Almost all the previous threads i have gone through mentions calibration and transformation of smaller robots where calculations between image and robot base can be done usign small ruler.
2nd camera is calibrated using checkerboard method. which is suggested to be calibrated using 20 or more checkerboard images. after calibration it gives "Rotation Matrices of 3*3 for 20 images and translational vectors of 1*3 for 20 images.
As in actual process guide, for camera extrinsic calculation R and T matrices are used, Which one rotataion and translational vector among these 20 we will use for calculation of base transformation in actual process guide? Sorry for a childish question but i will be thankful for a decent guide.
can somebody share his experience in detail that how to transform or map 2D image coordinates of calibrated fisheye camera to 3D robot coordinates (for 6 dof industrial robot) so the robotic arm moves to exact position deteted by webcam.? (Distance in real time between Image coordinates (u,v) and robot 3D coordinate (x,y,z) of base or TCP.
i am not asking for a complete solution, rather i need some useful hints to guide me in proper way. (the camera will be mounted on robotic arm)
regardss Hello to Community members.
2D image coordinates to 3D robot coordinates is an old topic with so many threads but there is a confusion i need to ask..
i am working on a project of guiding the 6 DOF ABB Industrial robotic arm using a Full HD Webcam to reach a designated location. Almost all the previous threads i have gone through mentions calibration and transformation of smaller robots where calculations between image and robot base can be done usign small ruler.
2nd camera is calibrated using checkerboard method. which is suggested to be calibrated using 20 or more checkerboard images. after calibration it gives "Rotation Matrices of 3*3 for 20 images and translational vectors of 1*3 for 20 images.
As in actual process guide, for camera extrinsic calculation R and T matrices are used, Which one rotataion and translational vector among these 20 we will use for calculation of base transformation in actual process guide? Sorry for a childish question but i will be thankful for a decent guide.
can somebody share his experience in detail that how to transform or map 2D image coordinates of calibrated fisheye camera to 3D robot coordinates (for 6 dof industrial robot) so the robotic arm moves to exact position deteted by webcam.? (Distance in real time between Image coordinates (u,v) and robot 3D coordinate (x,y,z) of base or TCP.
i am not asking for a complete solution, rather i need some useful hints to guide me in proper way. (the camera will be mounted on robotic arm)
regardss robot coordinates MATLAB Answers — New Questions
error using sin or math.sin
I have plugged in math.sin and sin into my equation and I continue getting errors when trying to run the script. I am lost and I am not sure how to correct this.
(8+6)*abs(4-15) + math.sin(math.log10(18))-(4+6) * math.tan(8/18+1)
Unable to resolve the name ‘math.sin’.
(8+6)*abs(4-15) + sin*(math.log10(18))-(4+6) * math.tan(8/18+1)
Error using sin. Not enough input arguments.I have plugged in math.sin and sin into my equation and I continue getting errors when trying to run the script. I am lost and I am not sure how to correct this.
(8+6)*abs(4-15) + math.sin(math.log10(18))-(4+6) * math.tan(8/18+1)
Unable to resolve the name ‘math.sin’.
(8+6)*abs(4-15) + sin*(math.log10(18))-(4+6) * math.tan(8/18+1)
Error using sin. Not enough input arguments. I have plugged in math.sin and sin into my equation and I continue getting errors when trying to run the script. I am lost and I am not sure how to correct this.
(8+6)*abs(4-15) + math.sin(math.log10(18))-(4+6) * math.tan(8/18+1)
Unable to resolve the name ‘math.sin’.
(8+6)*abs(4-15) + sin*(math.log10(18))-(4+6) * math.tan(8/18+1)
Error using sin. Not enough input arguments. matlab MATLAB Answers — New Questions
Newbie starter – AC generator circuit in Simulink
Hello everybody.
I’m a new starter to Matlab and Simulink, and I’m trying to create a basic electrical circuit in Simulink. It’s comprised of a ‘Synchronous Machine SI Fundamental’ block, using ‘Preset Model 05: 50hZ 400V 60kVA 1500RPM’, and feeds a ‘Three-Phase Parallel RLC Load’ block, with parameters of 400V P-P, 10KW, +7.5kVAr and -5.0kVAr. I have a constant block of 100*pi (for 1500 rpm) connected to the PM input, and another constant of 3.212 connected to the Vf input of the generator, to provide speed and field voltage respectively. From the ‘m’ terminal I have a Bus Selector with 9 parameters selected, which then feed a 9-input scope. These inputs are:
Electrical power,
Rotor speed,
Field current,
Output active power,
Output reactive power,
is_A,
is_B,
is_C,
Load angle.
When I run the simulation the graphs in the scope display low electrical power, negative rotor speed, low output active power, massive output reactive power and a load angle that oscillates between +200 and -200 degrees. Additionally, nothing seems to happen for the first 55 seconds of the simulation, then from 55 to 60 seconds (when the simulation stops) I have activity.
I’d like some tips on how to correct this. My intent upon getting this going is to replace the Vf constant with a control system (PID or otherwise) to act as an automatic voltage regulator, and modify the model to simulate faults and changes in load. First things first though.
I don’t know if models can be posted on here. If they can, could someone tell me how and I’ll put it up for people to have a look at? I’ve tried to attach a picture of the circuit. I’ve also tried to attach some pictures of the scope displays. I’d also like to know how to slow down the simulation, if that’s possible?
Thanks in advance!Hello everybody.
I’m a new starter to Matlab and Simulink, and I’m trying to create a basic electrical circuit in Simulink. It’s comprised of a ‘Synchronous Machine SI Fundamental’ block, using ‘Preset Model 05: 50hZ 400V 60kVA 1500RPM’, and feeds a ‘Three-Phase Parallel RLC Load’ block, with parameters of 400V P-P, 10KW, +7.5kVAr and -5.0kVAr. I have a constant block of 100*pi (for 1500 rpm) connected to the PM input, and another constant of 3.212 connected to the Vf input of the generator, to provide speed and field voltage respectively. From the ‘m’ terminal I have a Bus Selector with 9 parameters selected, which then feed a 9-input scope. These inputs are:
Electrical power,
Rotor speed,
Field current,
Output active power,
Output reactive power,
is_A,
is_B,
is_C,
Load angle.
When I run the simulation the graphs in the scope display low electrical power, negative rotor speed, low output active power, massive output reactive power and a load angle that oscillates between +200 and -200 degrees. Additionally, nothing seems to happen for the first 55 seconds of the simulation, then from 55 to 60 seconds (when the simulation stops) I have activity.
I’d like some tips on how to correct this. My intent upon getting this going is to replace the Vf constant with a control system (PID or otherwise) to act as an automatic voltage regulator, and modify the model to simulate faults and changes in load. First things first though.
I don’t know if models can be posted on here. If they can, could someone tell me how and I’ll put it up for people to have a look at? I’ve tried to attach a picture of the circuit. I’ve also tried to attach some pictures of the scope displays. I’d also like to know how to slow down the simulation, if that’s possible?
Thanks in advance! Hello everybody.
I’m a new starter to Matlab and Simulink, and I’m trying to create a basic electrical circuit in Simulink. It’s comprised of a ‘Synchronous Machine SI Fundamental’ block, using ‘Preset Model 05: 50hZ 400V 60kVA 1500RPM’, and feeds a ‘Three-Phase Parallel RLC Load’ block, with parameters of 400V P-P, 10KW, +7.5kVAr and -5.0kVAr. I have a constant block of 100*pi (for 1500 rpm) connected to the PM input, and another constant of 3.212 connected to the Vf input of the generator, to provide speed and field voltage respectively. From the ‘m’ terminal I have a Bus Selector with 9 parameters selected, which then feed a 9-input scope. These inputs are:
Electrical power,
Rotor speed,
Field current,
Output active power,
Output reactive power,
is_A,
is_B,
is_C,
Load angle.
When I run the simulation the graphs in the scope display low electrical power, negative rotor speed, low output active power, massive output reactive power and a load angle that oscillates between +200 and -200 degrees. Additionally, nothing seems to happen for the first 55 seconds of the simulation, then from 55 to 60 seconds (when the simulation stops) I have activity.
I’d like some tips on how to correct this. My intent upon getting this going is to replace the Vf constant with a control system (PID or otherwise) to act as an automatic voltage regulator, and modify the model to simulate faults and changes in load. First things first though.
I don’t know if models can be posted on here. If they can, could someone tell me how and I’ll put it up for people to have a look at? I’ve tried to attach a picture of the circuit. I’ve also tried to attach some pictures of the scope displays. I’d also like to know how to slow down the simulation, if that’s possible?
Thanks in advance! simulink MATLAB Answers — New Questions
steady plot end with different rate of rise question
Hello, in the photo below the start and end points are stable,the rate of change between them changes.
In the code below i tried to use exponential curves but different rate gives me different end point.
is there some wat the curves will start and end at the same points as shown below?
Thanks.
% Define the range of x values
x = linspace(0, 1, 10); % 0 to 1 with 100 points
% Define different rates for the exponential rise
rate1 = 10; % Faster rise
rate2 = 9.9; % Moderate rise
rate3 = 2; % Slower rise
% Compute the exponential values
y1 = exp(rate1 * x) – 1; % Exponential curve 1
y2 = exp(rate2 * x) – 1; % Exponential curve 2
y3 = exp(rate3 * x) – 1; % Exponential curve 3
% Plot the exponential curves
figure;
plot(x, y1, ‘b’, ‘LineWidth’, 1.5); hold on;
plot(x, y2, ‘r’, ‘LineWidth’, 1.5);
plot(x, y3, ‘g’, ‘LineWidth’, 1.5);
% Add labels and legend
xlabel(‘x-axis’);
ylabel(‘y-axis’);
legend({‘Rate = 10’, ‘Rate = 5’, ‘Rate = 2’}, ‘Location’, ‘NorthEast’);
title(‘Exponential Rise at Different Rates’);
grid on;Hello, in the photo below the start and end points are stable,the rate of change between them changes.
In the code below i tried to use exponential curves but different rate gives me different end point.
is there some wat the curves will start and end at the same points as shown below?
Thanks.
% Define the range of x values
x = linspace(0, 1, 10); % 0 to 1 with 100 points
% Define different rates for the exponential rise
rate1 = 10; % Faster rise
rate2 = 9.9; % Moderate rise
rate3 = 2; % Slower rise
% Compute the exponential values
y1 = exp(rate1 * x) – 1; % Exponential curve 1
y2 = exp(rate2 * x) – 1; % Exponential curve 2
y3 = exp(rate3 * x) – 1; % Exponential curve 3
% Plot the exponential curves
figure;
plot(x, y1, ‘b’, ‘LineWidth’, 1.5); hold on;
plot(x, y2, ‘r’, ‘LineWidth’, 1.5);
plot(x, y3, ‘g’, ‘LineWidth’, 1.5);
% Add labels and legend
xlabel(‘x-axis’);
ylabel(‘y-axis’);
legend({‘Rate = 10’, ‘Rate = 5’, ‘Rate = 2’}, ‘Location’, ‘NorthEast’);
title(‘Exponential Rise at Different Rates’);
grid on; Hello, in the photo below the start and end points are stable,the rate of change between them changes.
In the code below i tried to use exponential curves but different rate gives me different end point.
is there some wat the curves will start and end at the same points as shown below?
Thanks.
% Define the range of x values
x = linspace(0, 1, 10); % 0 to 1 with 100 points
% Define different rates for the exponential rise
rate1 = 10; % Faster rise
rate2 = 9.9; % Moderate rise
rate3 = 2; % Slower rise
% Compute the exponential values
y1 = exp(rate1 * x) – 1; % Exponential curve 1
y2 = exp(rate2 * x) – 1; % Exponential curve 2
y3 = exp(rate3 * x) – 1; % Exponential curve 3
% Plot the exponential curves
figure;
plot(x, y1, ‘b’, ‘LineWidth’, 1.5); hold on;
plot(x, y2, ‘r’, ‘LineWidth’, 1.5);
plot(x, y3, ‘g’, ‘LineWidth’, 1.5);
% Add labels and legend
xlabel(‘x-axis’);
ylabel(‘y-axis’);
legend({‘Rate = 10’, ‘Rate = 5’, ‘Rate = 2’}, ‘Location’, ‘NorthEast’);
title(‘Exponential Rise at Different Rates’);
grid on; rate of rise steady ends MATLAB Answers — New Questions
How to find the period between group of regularly spaced hot-spots?
I have a group of numbers with values enriched at uniformly regularly spaced hot-spots.
There is no other information available.
How to get the estimated length of the space between these hot-spots?
For this example, the interval is about 128.I have a group of numbers with values enriched at uniformly regularly spaced hot-spots.
There is no other information available.
How to get the estimated length of the space between these hot-spots?
For this example, the interval is about 128. I have a group of numbers with values enriched at uniformly regularly spaced hot-spots.
There is no other information available.
How to get the estimated length of the space between these hot-spots?
For this example, the interval is about 128. period MATLAB Answers — New Questions
matlab graph using excel data
hi,
i have an excel file (say file1.xlsx)numeric data with 2000 rows and 25 colums. and i have 20 such excel sheets in this file with the same number of rows and colums.
i want to create a matlab file which will create graph of sheet1 of this excel file and save it with all the settings(labels, legends, font, etc), so that next time i only select the sheet2 and it will auomatically create graph and so on for the next 20 sheets of the same excel file.
is there any tool in matlab for such plotting or i have to write piece of code.
if coding is the solution then please help me through this.
thank you in advancehi,
i have an excel file (say file1.xlsx)numeric data with 2000 rows and 25 colums. and i have 20 such excel sheets in this file with the same number of rows and colums.
i want to create a matlab file which will create graph of sheet1 of this excel file and save it with all the settings(labels, legends, font, etc), so that next time i only select the sheet2 and it will auomatically create graph and so on for the next 20 sheets of the same excel file.
is there any tool in matlab for such plotting or i have to write piece of code.
if coding is the solution then please help me through this.
thank you in advance hi,
i have an excel file (say file1.xlsx)numeric data with 2000 rows and 25 colums. and i have 20 such excel sheets in this file with the same number of rows and colums.
i want to create a matlab file which will create graph of sheet1 of this excel file and save it with all the settings(labels, legends, font, etc), so that next time i only select the sheet2 and it will auomatically create graph and so on for the next 20 sheets of the same excel file.
is there any tool in matlab for such plotting or i have to write piece of code.
if coding is the solution then please help me through this.
thank you in advance xlsread, plotting MATLAB Answers — New Questions
How can I use the resource amount source on the resource pool block?
I want to model in simulink. I am using a resource pool in my model and each time an entity is generated I want the resource pool amount to increase by 1. I tried to use the option Resource amount source : Change amount through control port but I cannot figure out how to do it. Any help would be appreciated!I want to model in simulink. I am using a resource pool in my model and each time an entity is generated I want the resource pool amount to increase by 1. I tried to use the option Resource amount source : Change amount through control port but I cannot figure out how to do it. Any help would be appreciated! I want to model in simulink. I am using a resource pool in my model and each time an entity is generated I want the resource pool amount to increase by 1. I tried to use the option Resource amount source : Change amount through control port but I cannot figure out how to do it. Any help would be appreciated! #resourcepool, #resourceamount MATLAB Answers — New Questions
Model identyfication from plot
Hi, I took some mesurements of ramp response for furnace to choose parameters for PID, but I do not know how to define model of it. The ambient temperature was about 15°C, ramp was 120°C/h, final temp was 60°C, but it was tested in closed loop with P=1. The data I received are temperature measurements depending on time. Do you have any ideas how to do it ?Hi, I took some mesurements of ramp response for furnace to choose parameters for PID, but I do not know how to define model of it. The ambient temperature was about 15°C, ramp was 120°C/h, final temp was 60°C, but it was tested in closed loop with P=1. The data I received are temperature measurements depending on time. Do you have any ideas how to do it ? Hi, I took some mesurements of ramp response for furnace to choose parameters for PID, but I do not know how to define model of it. The ambient temperature was about 15°C, ramp was 120°C/h, final temp was 60°C, but it was tested in closed loop with P=1. The data I received are temperature measurements depending on time. Do you have any ideas how to do it ? transfer function, model, simulink, matlab, state-space MATLAB Answers — New Questions
disable “Configure Arduino” Dialog in Standalone App
Hello everyone,
I have created an app with the MATLAB App Designer that communicates with an Arduino Nano. Everything works fine in the App Designer. After I have created a stand-alone executable file from the app, the “Configure Arduino” dialog box always appears when connecting the Arduino. If i select everything it works, but i dont want to type it in after every restart.
Can this be deactivated?
Here is my code of the connection setup.
app.ArduinoObject = arduino(app.config.COMPort, ‘Nano3’, ‘AnalogReferenceMode’, ‘internal’, ‘AnalogReference’, 1.1);
I also tried the following, but unfortunately it didn’t work.
app.ArduinoObject = arduino(app.config.COMPort,’Nano3′,’ArduinoCLIPath’,’C:Program FilesTopcaseTesterapplicationArduino CLI’,’AnalogReferenceMode’,’internal’, ‘AnalogReference’,1.1);
My CLI path is C:Program FilesTopcaseTesterapplicationArduino CLI
Thanks for you help!Hello everyone,
I have created an app with the MATLAB App Designer that communicates with an Arduino Nano. Everything works fine in the App Designer. After I have created a stand-alone executable file from the app, the “Configure Arduino” dialog box always appears when connecting the Arduino. If i select everything it works, but i dont want to type it in after every restart.
Can this be deactivated?
Here is my code of the connection setup.
app.ArduinoObject = arduino(app.config.COMPort, ‘Nano3’, ‘AnalogReferenceMode’, ‘internal’, ‘AnalogReference’, 1.1);
I also tried the following, but unfortunately it didn’t work.
app.ArduinoObject = arduino(app.config.COMPort,’Nano3′,’ArduinoCLIPath’,’C:Program FilesTopcaseTesterapplicationArduino CLI’,’AnalogReferenceMode’,’internal’, ‘AnalogReference’,1.1);
My CLI path is C:Program FilesTopcaseTesterapplicationArduino CLI
Thanks for you help! Hello everyone,
I have created an app with the MATLAB App Designer that communicates with an Arduino Nano. Everything works fine in the App Designer. After I have created a stand-alone executable file from the app, the “Configure Arduino” dialog box always appears when connecting the Arduino. If i select everything it works, but i dont want to type it in after every restart.
Can this be deactivated?
Here is my code of the connection setup.
app.ArduinoObject = arduino(app.config.COMPort, ‘Nano3’, ‘AnalogReferenceMode’, ‘internal’, ‘AnalogReference’, 1.1);
I also tried the following, but unfortunately it didn’t work.
app.ArduinoObject = arduino(app.config.COMPort,’Nano3′,’ArduinoCLIPath’,’C:Program FilesTopcaseTesterapplicationArduino CLI’,’AnalogReferenceMode’,’internal’, ‘AnalogReference’,1.1);
My CLI path is C:Program FilesTopcaseTesterapplicationArduino CLI
Thanks for you help! standalone MATLAB Answers — New Questions
Write a function that receives an input argument of a number of kilometers (km) and will output the conversions into both miles (mi) and US nautical miles (n.m.). Use the conversions: 1 km = 0.621 mi and 1 km = 0.540 n.m.
Write a function that receives an input argument of a number of kilometers (km) and will output the conversions into both miles (mi) and US nautical miles (n.m.). Use the conversions: 1 km = 0.621 mi and 1 km = 0.540 n.m.Write a function that receives an input argument of a number of kilometers (km) and will output the conversions into both miles (mi) and US nautical miles (n.m.). Use the conversions: 1 km = 0.621 mi and 1 km = 0.540 n.m. Write a function that receives an input argument of a number of kilometers (km) and will output the conversions into both miles (mi) and US nautical miles (n.m.). Use the conversions: 1 km = 0.621 mi and 1 km = 0.540 n.m. functio MATLAB Answers — New Questions
FFT Analysis Tool in Powergui
I want to use the powergui block for fft analysis.I am measuring three phase signals using a current measurement block connected to a scope. After running the simulation , the powergui’s fft analysis does not display anything and the name and input fields display ‘-Empty-‘.
Can anyone please suggest a solution to this problem, urgently.I want to use the powergui block for fft analysis.I am measuring three phase signals using a current measurement block connected to a scope. After running the simulation , the powergui’s fft analysis does not display anything and the name and input fields display ‘-Empty-‘.
Can anyone please suggest a solution to this problem, urgently. I want to use the powergui block for fft analysis.I am measuring three phase signals using a current measurement block connected to a scope. After running the simulation , the powergui’s fft analysis does not display anything and the name and input fields display ‘-Empty-‘.
Can anyone please suggest a solution to this problem, urgently. fft analysis, powergui MATLAB Answers — New Questions
PID controller for m file
Hi
I have system (NOT transfer function) that gives vector numbers. Also, I have specific desire output. I would like to add PID controller as a control to reduce the error between the desire and output based on specific variable (d). Can you please help me with this situation
For example,
A=[0 3 12.5 12.8 11.8 12.3 11.9 12]; % practical data
d=1; % variable
OUT=A*d; % output
Vdesire=12; % desire outputHi
I have system (NOT transfer function) that gives vector numbers. Also, I have specific desire output. I would like to add PID controller as a control to reduce the error between the desire and output based on specific variable (d). Can you please help me with this situation
For example,
A=[0 3 12.5 12.8 11.8 12.3 11.9 12]; % practical data
d=1; % variable
OUT=A*d; % output
Vdesire=12; % desire output Hi
I have system (NOT transfer function) that gives vector numbers. Also, I have specific desire output. I would like to add PID controller as a control to reduce the error between the desire and output based on specific variable (d). Can you please help me with this situation
For example,
A=[0 3 12.5 12.8 11.8 12.3 11.9 12]; % practical data
d=1; % variable
OUT=A*d; % output
Vdesire=12; % desire output pid, controller MATLAB Answers — New Questions
Simulink:Aerospace 6 DoF Model Singularity with High Altitudes
I am using the "Simple Variable Mass 6DoF ECEF (Quaternion)" for a rocket model and everything is working great and as expected, except when the altitude (h) exceeds a certain value (around 180,000 meters). I end up getting an error:
"Derivative input 1 of ‘LV01/Simple Variable Mass 6DoF ECEF (Quaternion)/Calculate Velocity in Body Axes/ub,vb,wb’ at time 0 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)."
View post on imgur.com
Any ideas? I’m kind of stuck since I need to get up to around 500 km. I couldn’t find anything that discussed limitations on with the model. Maybe there is another more appropriate model to use?I am using the "Simple Variable Mass 6DoF ECEF (Quaternion)" for a rocket model and everything is working great and as expected, except when the altitude (h) exceeds a certain value (around 180,000 meters). I end up getting an error:
"Derivative input 1 of ‘LV01/Simple Variable Mass 6DoF ECEF (Quaternion)/Calculate Velocity in Body Axes/ub,vb,wb’ at time 0 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)."
View post on imgur.com
Any ideas? I’m kind of stuck since I need to get up to around 500 km. I couldn’t find anything that discussed limitations on with the model. Maybe there is another more appropriate model to use? I am using the "Simple Variable Mass 6DoF ECEF (Quaternion)" for a rocket model and everything is working great and as expected, except when the altitude (h) exceeds a certain value (around 180,000 meters). I end up getting an error:
"Derivative input 1 of ‘LV01/Simple Variable Mass 6DoF ECEF (Quaternion)/Calculate Velocity in Body Axes/ub,vb,wb’ at time 0 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)."
View post on imgur.com
Any ideas? I’m kind of stuck since I need to get up to around 500 km. I couldn’t find anything that discussed limitations on with the model. Maybe there is another more appropriate model to use? simulink MATLAB Answers — New Questions
How can I edit the Industrial Robot Models in Simscape, MATLAB Example by Steve Miller?
Hello All
I am using the Industrial Robot Models in Simscape by Steve Miller, and need help editing a robot model. Specifically, I would like to modify link dimensions, add joints, or adjust dynamics. Any guidance or tips would be greatly appreciated!
Thank you in advance
ChintanHello All
I am using the Industrial Robot Models in Simscape by Steve Miller, and need help editing a robot model. Specifically, I would like to modify link dimensions, add joints, or adjust dynamics. Any guidance or tips would be greatly appreciated!
Thank you in advance
Chintan Hello All
I am using the Industrial Robot Models in Simscape by Steve Miller, and need help editing a robot model. Specifically, I would like to modify link dimensions, add joints, or adjust dynamics. Any guidance or tips would be greatly appreciated!
Thank you in advance
Chintan industrial robot models, robotic manipulator, 6-dof pick and place manipulator, simscape model MATLAB Answers — New Questions
How do I change the names of the input and output in the Fuzzy Logic Designer for the simulation part, specifically in the system validation? I have already circled in red pen
Post Content Post Content system validation, fuzzylogic, fuzzylogicdesigner MATLAB Answers — New Questions