回答済み
generating periodic trapezoidal waves with ramps
Hi, The pulstran function allows you to input custom function handles to generate custom waveforms. You can use this equation t...

5年以上 前 | 1

回答済み
Find spectrum of part of the signal
Hi, You can consider dividing your signal into small parts of 100 samples as you mentioned and then doing an FFT analysis on ea...

5年以上 前 | 0

回答済み
Quaternion rotation around only two axes.
Hi, You can convert the quaternion to euler angles and then set the yaw(z axis) to zero and then convert it back to quaternion ...

5年以上 前 | 0

回答済み
simply trajectory generation for a ground robot
Hi, The waypoint Trajectory Generator will be able to generate a "S" shape trajectory. You can give waypoints along the "S" Sha...

5年以上 前 | 0

回答済み
How to connect a PID signal to a H-bridge driver
Hi, The simplest way to convert between simulink and Simscape electrical Voltage is use a Controlled Voltage source block. In t...

5年以上 前 | 0

回答済み
Trajectory for an aerial vehicle
Hi, You can use the waypointTrajectory Generator to get a 6DOF trajectory in MATLAB. There are other methods also to generate T...

5年以上 前 | 0

回答済み
Rotary encoder simulation in Simulink
Hi, You can refer to this docuement for simulating the Hall effect Rotary Encoder in Simscape. You can also find the details of...

5年以上 前 | 0

回答済み
Is there a pipe bend or elbow bock for thermal fluid?
Hi, You can refer to this example of a cooling system using a thermal Fluid in Simscape. You can also edit the parameters of th...

5年以上 前 | 0

回答済み
How can I connect matlab mobile with my android smartphone
Hi, Directly interfacing the Matlab Mobile with Arduino Hardware is not supported yet. However a similar functionality can be a...

5年以上 前 | 0

回答済み
Graphing Same color every iteration in stacked bar chart
Hi, You can edit your code with the help of attached code. Also you can refer to bar for documentation. barchart = bar(1,[stic...

5年以上 前 | 0

| 採用済み

回答済み
Can I extract XY data from a figure and sort it by the color of the datapoints?
Hi, Since you have a .fig file, the following code will help you get back the datapoints. This is the basic structure, you may ...

5年以上 前 | 0

回答済み
How to find where certain groups of zeros are located in a cell
Hi, Assuming you want to find the first index of all the groups of 4 zeros in a array. Here is the code - arr = [1 0 1 0 0 1 ...

5年以上 前 | 0

| 採用済み

回答済み
odomerty motion models without non-holonomic constraints for monteCarloLocalization object
Hi, Currently the option to change or add a custom motion model is unavailable for monteCarloLocalisation. I have brought this ...

5年以上 前 | 0

| 採用済み

回答済み
How to store continuous serial data from COM port
Hi, You can achieve the required function using a global variable. They allow you to share variables across multiple functions ...

5年以上 前 | 0

回答済み
Using Occupancy Grid/Map in Simulink
Hi, You can refer to this documentation for implementation pathplanner in Simulink using occupancy map(check the planning block...

5年以上 前 | 0

| 採用済み

回答済み
Algebraic loop problem in attitude control
Hi, You can refer to this to understand the execution order of the simulink blocks and edit your model so that you no longer ge...

5年以上 前 | 1

回答済み
RP lidar data plotting
Hi, The problem is not in the plotting/visualisation part. We advise implementing the equations first to get proper values and ...

5年以上 前 | 0

| 採用済み

回答済み
How can I know and apply underlying pose graph information for lidarSLAM
Hi, A posegraph is an underlying graph that the LidarSlam uses to store all the scanned data and compute state estimate and o...

5年以上 前 | 0

回答済み
ROHS Step motor 28BYJ-48
Hi, There can be 3 ways to control a stepper motor in MATLAB. Adafruit Motor Sheild. You can refer to this example for the...

5年以上 前 | 0

回答済み
Rotate line about a point
Hi, You can simply translate the vector to the origin Multiply the point by the rotation Matrix and then again translate the ...

5年以上 前 | 0

回答済み
Hello! I am trying to append an element into a 5x5 empty cell called 'punnettSquare'. How can I append the first element of a1 and the first element b1 into row 2 column 1 of punnettSquare? Thank you!
Hi, Adding this line to the end of the code will get you the desired results. punnettSquare{2,1}={a1{1},b1{1}}; % if you wa...

5年以上 前 | 0

回答済み
Target Interception in 2D
Hi, Here is an example of modelling a guidance system in MATLAB and Simulink. Here is another similar question which has be...

5年以上 前 | 0

| 採用済み

回答済み
Can I implement Extended Kalman Filter for a linear sensor fusion?
Hi, The major difference between the Kalman Filter and Extended Kalman Filter is that Kalman Filter is applicable for a discr...

5年以上 前 | 0

回答済み
Simulating multiple robots in Gazebo through MATLAB/Simulink
Hi, You can use gazebo co-simulation to get the desired Implementation. This document explains how to setup gazebo co-sim. Th...

5年以上 前 | 0

回答済み
How to reduce the length of a vector?
Hi, I am assuming that you are trying to reduce the number of points in a signal while keeping the overall characteristics unc...

5年以上 前 | 0

回答済み
Simulink For iterator , to output every loop result, not only the last cycle
Hi, You can refer to this guide to export values out of Simulink at every step into output variable. You can use an outport ...

5年以上 前 | 0

回答済み
Plotting frequency with different vector error
Hi, To get the desired shift so that the graph is symmetric about the origin, you can make the following changes in your code ...

5年以上 前 | 0

回答済み
Creating and Writing in an MDL file
Hi, A .mdl file is used to store models in Simulink using ASCII and not code, Code is stored using a .m file. You can refer...

5年以上 前 | 1

回答済み
Could i use mpu9250 in to the IMUFusionSimulinkModel?
Hi, You can interface the MPU-9250 in Simulink via Arduino Hardware Support Package. The steps for the implementation will b...

5年以上 前 | 0

回答済み
Convert live colour video into gray scale video?
Hi, You can modify your code like this to get the desired results. CODE : imaqreset; %warning('off','all'); %.... diable...

5年以上 前 | 0

| 採用済み

さらに読み込む