已回答
How to activate 'Block choices' in Generic simscape model of 2022b MATLAB version?
Hi Sugumaran, I assume that you want to view SOC of the battery, refer to this doccumentation link to accomplish that. The Bl...

1 year 前 | 0

已回答
How can I change the value of the parameters of Simscape battery model in Simulink?
To modify any block parameters, you can follow these steps: Open the block for which you want to change the parameters. Double...

1 year 前 | 0

已回答
storing data on Thinkspeak
You can use thingSpeakWrite function For more information visit the docmentation page-Write data to ThingSpeak channel - MATLAB...

1 year 前 | 0

已回答
simulink support package for Arduino too slow
The MATLAB Support Package for Arduino Hardware is generally reliable, and is a great tool, but it is possible to encounter issu...

1 year 前 | 0

已回答
Curve smoothing of a voltage-time plot
Hi Chinmaya, MATLAB provides a built-in function called smoothdata() that can be used to generate smoother plots compared to th...

1 year 前 | 0

已回答
How to use model predictive control and quadprog() in MicroAutobox III
Hi Zekun Yang, Quadprog does support Code Generation but there are some constraints and limitations for that, go through the fo...

1 year 前 | 0

已回答
I am going to do the thesis on deep fake image detetction using sift, i would be focusing on pre processing and matrices, which lecture should i take
Hi Yameen Mohsan, I understand that you want to use SIFT algorithm for deepfake image detection in matlab. If you are new to m...

1 year 前 | 0

已回答
graph is not saving properly in .pdf format, I am using 2018b
Hi Retish, you can save a graph in many ways using matlab, here are a few Using 'saveas' - saveas(gcf, 'myplot.pdf'); Using '...

1 year 前 | 0

| 已接受

已回答
How to get MATLAB student version ?
The availability and eligibility criteria may vary depending on the region and institution. Students can check with their instit...

1 year 前 | 0

已回答
draw waveform of spectra
Use this script to plot the Amplitude Modulated Spectrum. % Define the Baseband signal t = linspace(0, 1, 1000); Am=5; fm=30...

1 year 前 | 0

已回答
Skipped verify statements appear in tests they are not called in ?
When running test cases in Simulink Test Manager, all of the verify statements present in the model will be listed in the result...

1 year 前 | 0

已回答
Percentage of Parent Row Total or percentage of Parent Column Total in new function pivot
Based on the documentation of the new pivot function in MATLAB prerelease 2023a, it seems that it does not have built-in support...

1 year 前 | 0

已回答
Title is missing when saving a figure using print, saveas, exportgraphics, and printpreview
Hi Mark, I've tried to reproduce the problem you mentioned, but I've been unable to do so on my end. Specifically, the files ar...

1 year 前 | 0

已回答
How to make the color bar the same color when it is the same variable in two different pictures
In this modified code, we are first using the min and max methods to find the ssta variable's minimum and maximum values, across...

1 year 前 | 0

已回答
how to apply butterworth filter in frequency domain
You can use the following code to implement butterworth filter (bandpass). For more information visit Documentation. Fs = 500; ...

1 year 前 | 0

已回答
Suppose x takes on the values x  1, 1.2, 1.4, . . . , 5. Use MATLAB to compute the array y that results from the function y  7 sin(4x). Use MATLAB to determine how many
The below code will help you to do all the task's you asked for. x=1:0.2:5; y=7*sin(4*x); num_elements=length(y); third_el...

1 year 前 | 0

| 已接受

已回答
Remove zero velocities and its correnponding coordinates.
% load the dataset to the variable data data = []; % extract the each column to a individual column vector ...

1 year 前 | 0

已回答
Copy favorites from one computer to another (shortcuts_2.xml?)
Refer to this similar discussion. How do I copy all my shortcut buttons to another installation of MATLAB? - MATLAB Answers -...

1 year 前 | 1

已回答
Mass-Spring System Simulink
Hi Jochem, I assume you need to calculate the stiffness and frequency of a spring mass system. To simulate the sysyem in simul...

1 year 前 | 0

已回答
I want to write a code in which i could generate the hanning window with any frequency entered by the user
Hi Sanket Shivaji You can use the below code to generate Hanning Window for a input wave form. You can go through the comments ...

1 year 前 | 0

已回答
trying to align multiple sin waves onto same graph with the period of the wave on the x axis.
To align the sine waves in the requested format, their time periods must always be the same. This means that only the amplitude ...

1 year 前 | 0

已回答
Help function does not work
Hi, Help is a basic functionality in MATLAB these are some of the reasons for which help function fails to work: There may be ...

1 year 前 | 0

| 已接受

已回答
how to make symmetric matrix with vector of its non repeated elements?
The first line of the code is to input for the size of the matrix that you want to generate. % ask the user for the size of t...

1 year 前 | 0

已回答
How to multiple a 3x3 double matrices time 2355x1 double matrices
To multiply any two matrices the basic condition that needed to be satisfied is, the number of columns in the first matrix must ...

1 year 前 | 0

已回答
Why do I get an error "Division by zero" when I switch to normal mode but No error by using accelerator mode?
Hi Noureddine Doumi, When you change your simulation mode from Normal to Accelerator to speed up the simulation, the simulation...

1 year 前 | 0

已回答
How do I export a Systems Composer model into a .jpeg file or similar format for display in reports
Hi @Joe Burrowes, There are two ways: 1. You can use the Simulink Report Generator toolbox with the System Composer APIs to cr...

1 year 前 | 0

| 已接受

已回答
readtable error in Matlab
Hi Jayden Yeo, You are facing this issue since, in R2015b version of MATLAB, comma-delimited text files(.txt, .dat, .csv) a...

1 year 前 | 0

已回答
Solving Differential equation with multi variables
Hi Gilad Shaul! I assumed that you mistyped Matrix equation as Differential equation. I understand that you are trying to solv...

1 year 前 | 0