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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

Respondida
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 '...

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

Respondida
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; ...

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 1

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0