Beantwortet
How to plot a part of an array?
Hi, check this: % Create the x vector x = 1:20; % Calculate y based on the equation y = 2 * x + 3; % Create a figure an...

8 Monate vor | 0

| akzeptiert

Beantwortet
Square wave frequency modulation
Hi, The issue with your code is that you are not actually modulating the frequency of the square wave correctly. The way you ar...

8 Monate vor | 0

| akzeptiert

Beantwortet
How to make this code without using built-in convolution function.
To make the code without using the built-in convolution function, you can implement the convolution manually. Check how you can...

8 Monate vor | 1

| akzeptiert

Beantwortet
Class array property with size validation is SLOW
Hi, I feel here the issue is due to MATLAB handles array assignments for properties with size validation. When you specify a si...

8 Monate vor | 0

Beantwortet
swt requires wavelet tool ... can i run it without the tool
The swt2 and iswt2 functions you’re using are part of the Wavelet Toolbox in MATLAB. These functions are used to perform the sta...

8 Monate vor | 0

Beantwortet
Matlab unable to install add-ons
The error message you’re seeing is due to insufficient write permissions for the directory /usr/local/MATLAB/R2024a. This is com...

8 Monate vor | 6

Beantwortet
My First Derivative is not correctly calculated in matlab
Hey, Looks like the issue you are encountering is due to the differentiation operation. When you differentiate 'yApprox' with r...

8 Monate vor | 0

Beantwortet
Nyquistplot saveas don't generate vector graphics (.svg)
The reason why the Nyquist plot is not exporting as a vector graphic in the .svg format is likely due to the way MATLAB renders ...

8 Monate vor | 2

Beantwortet
UnderDamped Free SDOF System
Hey, The code you’ve written is for a damped system, but the damping coefficient c you’ve chosen is quite small (0.05). This me...

9 Monate vor | 0

| akzeptiert

Beantwortet
Using a FOR loop to iterate simultaneous equations
Hey, To create a MATLAB script that can handle a variable number of equations and unknowns. Here’s a modified version of your...

9 Monate vor | 1

| akzeptiert

Beantwortet
I'm receiving this error: "Incorrect number or types of inputs or outputs for function int." when trying to run the following code. I think because of the symbolic variables
Hey, The issue you’re encountering is due to the fact that int and vpaintegral functions in MATLAB are not designed to handle s...

9 Monate vor | 0

Beantwortet
Plotting functions of more than one variable, f(x,y)
Hey Conor, I checked and tried to plot using the 'fimplicit' function for the equations you mentioned. Here is a sample code ...

9 Monate vor | 1

Beantwortet
I am getting an error on the last line saying Input and target has different samples, Any suggestions?
Hey Joseph, The error message you’re seeing typically occurs when the dimensions of the input data and target data do not match...

9 Monate vor | 0

| akzeptiert

Beantwortet
When attempting to connect Simulink and SimScape Electrical components, a red dotted line appears, indicating a connection problem.
Hi Abdullah, It is my understanding that, you can see red dashed lines while connecting the blocks in Simulink and Simscape Ele...

9 Monate vor | 0

Beantwortet
Error using arxml.importer/updateModel Invalid or deleted object.
Hi Tommaso, From the error message it seems like there is an error realted to the 'updateModel' function in MATLAB's AUTOSAR p...

9 Monate vor | 0

Beantwortet
How can I export data to specific cells in a prepared Excel file?
Hi Johannes, Try using the 'writematrix' function instead of 'xlswrite' function: https://www.mathworks.com/help/matlab/ref/wr...

9 Monate vor | 1

| akzeptiert

Beantwortet
Efficient script to isolate one sub-dataset k-times.
Just check out this code snippet which I can propose to make the code more efficient by using logical indexing instead of a loop...

9 Monate vor | 0

| akzeptiert

Beantwortet
¿por qué tengo deshabilitada la función de Package al hacer una Standalone Application?
Hi Ainhoa, I am answering your question in English. The Package option is disabled when creating a standalone application beca...

9 Monate vor | 0

Beantwortet
I received the error message: Unable to perform assignment because the left and right sides have a different number of elements. Error in augLagFun>augLagScalarFun (line 175)
Hello Ebru, The error message you’re seeing is typically due to a mismatch in the number of elements between the left and right...

9 Monate vor | 0

| akzeptiert

Beantwortet
Matlab PTB not recognising labchart stimulated key presses
Hey Danielle, It seems that the issue you are facing is related to the interaction between your labchart macro and your PTB ex...

9 Monate vor | 0

Beantwortet
ETAS INCA IncaGetRecords Function says Error using IncaGetRecords >>> Inca <<< The element 'XCP:1' does not exist
Hi Alex, I understand that you are trying to use ETAS INCA's MATLAB Integration package to gather INCA Measurement data and bri...

9 Monate vor | 0

| akzeptiert

Beantwortet
Seeking assistance in running the PEM Electrolysis System in Simscape
Hi Dorothea, The error message “Unrecognized function or variable ‘PEMElectrolysisSystemPlot1IV’” typically indicates that MATL...

9 Monate vor | 0

| akzeptiert

Beantwortet
Help with Response Optmization
Hi Krishnan, I see you are working on optimizing a Simulink model for unpowered flight to demonstrate dynamic soaring phenomen ...

9 Monate vor | 0

Beantwortet
LaunchXL-f28379D internal temperature sensor
Hi Borja, Looks like you are trying to read the internal temperature sensor of a Launch XL-f28379D board using Simulink but the...

9 Monate vor | 0

Beantwortet
Command window unresponsive after CMD-0 shortcut
Hi Samuel, Check the following reference of macOS User Guide to know what to do when keyboard shortcuts dont work on Mac: http...

9 Monate vor | 0

Beantwortet
Is it possible to solve multiple ODEs using bvp5c/bvp4c?
Hi Thomas, Looks like you can solve multiple ODEs using 'bvp4c' or 'bvp5c' in MATLAB. These functions are especially desgined ...

9 Monate vor | 0

Beantwortet
Any examples of finding the start of a frame for an asynchronously captured NR-TM?
Hi Jongmin, For analyzing a TM signal from a capture file with an unknown frame start, there are no exact documentation or exa...

9 Monate vor | 0

Beantwortet
How can I generate multiple S11 parameters by modifying 2 or more dimensions of the antenna at the same time?
Hi Juan, I see you are looking to generate multile S11 parameters by modifying more dimensions of the antenna at the same time....

9 Monate vor | 0

Beantwortet
PSCAD Simulink Co-Simulation API
Hi Tamer, Looks like there is no support interfacing MATLAB/Simulink with 'PSCAD' for now. Maybe you can reach out to the 'PSCA...

9 Monate vor | 0

| akzeptiert

Beantwortet
based on geometric feature is disable in imported geometry in simscape multibody
Hi Pramod, The 'based on geometric feature' option in Simscape Multibody is typically used to create frames based on the geome...

9 Monate vor | 0

| akzeptiert

Mehr laden