Community Profile

photo

Jack


Last seen: 12 months ago Active since 2023

Statistics

  • Knowledgeable Level 4
  • Thankful Level 2
  • First Answer

View badges

Content Feed

View by

Answered
Randperm in symmetric matrix
To select random entries from a symmetric matrix and ensure that the corresponding symmetric positions are also included in the ...

12 months ago | 0

Answered
Struct convert to a Indexed values
To convert a struct with 301 rows, each containing a 36x1 Target information, into a struct with 301 indexes and 36 columns for ...

12 months ago | 0

Answered
solving a second order non linear differential equation using RK 4TH order method
Here's an example code in MATLAB for solving the given differential equation using the RK4 method. Note that you need to define ...

12 months ago | 0

Answered
How do i create an application to display “Hello World” string the number of times user inputs a numeric value? Please help me
Here's an example code that takes an input of an integer number and prints "Hello World" that many times in Android Studio: Cre...

12 months ago | 0

Answered
Model simulation don't run and disappears when I change camera angle
Based on the details you provided, it seems like a potential issue with the graphics hardware or software on the computer you're...

12 months ago | 0

| accepted

Answered
estimate parameter of complex function to predict target with neural network
To estimate the parameters of your complex function using a neural network, you can follow these general steps: Prepare your da...

12 months ago | 0

Answered
Spontaneously deleted information from struct variable
This sounds like a very strange issue that could potentially be caused by a bug in MATLAB. Here are a few suggestions that you c...

12 months ago | 0

Answered
What is the rationale behind dividing a line inductive reactance already in per unit (XL(pu)) by base angular frequency (2*pi*F) to get Lpu?
The equation Lpu = Xpu/(120*Nominal Frequency) is commonly used to convert the reactance Xpu of a component from its actual valu...

12 months ago | 0

Answered
standard deviation image ( for each pixels)
You can use the std function in MATLAB to calculate the standard deviation of each pixel along the band dimension. Here is the m...

12 months ago | 0

| accepted

Answered
How to access lag segment of data.dat and execute loop at a fixed frequency on it?
Hello! It is possible to perform real-time analysis and plotting of recorded data while it is being recorded. One way to achiev...

12 months ago | 0

Answered
How to display large matrix
To display the entire 100 by 100 matrix on the screen with row and column indices in MATLAB, you can use the disp function to di...

12 months ago | 0

Answered
Mask parameter value is ignored with HDL Counter word length
Hello Charles, Regarding your first question, it sounds like the HDL Counter block is not recognizing the updated value of the ...

12 months ago | 0

Answered
How to use nested object in Matlab function with non-constant properties
It seems like you are trying to use a custom MATLAB class in Simulink, which can sometimes be challenging. Here are a few sugges...

12 months ago | 0

Answered
plot with reversed y-axis in a normal y-axis
You can use the image function in MATLAB to display the video frames and then use insertShape to plot the eye position on top of...

12 months ago | 0

| accepted

Answered
Not able to reproduce results in experiment manager app
If you cannot see the results of your experiments in the Experiment Manager app, there are a few things you can try to troublesh...

12 months ago | 0

Answered
Creating source unsteady sinus wave of gas pressure in simscape
To create a sinusoidal wave of gas pressure as a source in a pneumatic system modeled in Simulink/Simscape, you can use the "Sig...

12 months ago | 1

| accepted

Answered
how to set ctr input for nrCRCEncoder
The nrCRCEncoder function in the 5G Toolbox takes two inputs: in and crcGen: out = nrCRCEncoder(in,crcGen) The in input is the...

12 months ago | 0

Answered
Undefined function or variable 'matscale'.
The error message you are seeing suggests that the MEX file for the MATLAB function XXX is not included in the JAR file. When p...

12 months ago | 0

Answered
Axes colour in figure changes after using saveas function to save as png
When you save the figure using the saveas function, MATLAB uses a default resolution of 150 DPI (dots per inch) to create the PN...

12 months ago | 0

Answered
How can I transform incoming BLE data in matlab to normal decimal values.
The values you are seeing, 55 52 51, are the ASCII codes for the characters '7', '4', and '3' respectively. To convert these ASC...

12 months ago | 0

Answered
Order of plot criteria
Hi C, I'd be happy to help you with your code. From what I understand, you want to create a dynamic legend that includes the nu...

12 months ago | 0

| accepted

Answered
Simulink Real-Time with Trellix firewall
It sounds like you are experiencing issues with establishing a connection between Simulink Real-Time and a Speedgoat target due ...

12 months ago | 1

Answered
HIL ( hardware-in-the-Loop) test for an existing calculator
Based on your requirements, it sounds like you want to create a communication module that can send data from MATLAB models to a ...

12 months ago | 0

Answered
Calling dll in protected model.
Hi, It is possible that the issue you are facing is related to the use of a non-inline S-function. Protected models have certai...

12 months ago | 1

| accepted

Answered
How can I plot this periodic function?
Hi, Sure I can help you with that % Define the function F(t) F = @(t) t.*exp(2*t); % Define the period and the time range ...

12 months ago | 1

| accepted

Answered
Change file header and save the file -- do this for all files in directory.
You can use a loop to iterate through all the files, read them in, change the headers, and then save them with the updated heade...

1 year ago | 1

| accepted

Answered
In the ee_dc_fast_charger project of MATLAB 2021b, what is the topology used in the plant models.
The ee_dc_fast_charger project in MATLAB 2021b uses a dual-stage power conversion topology. The Front-End Converter (FEC) is a s...

1 year ago | 0

Answered
How to merge new variables and append new rows at the same time (when synchronizing timetables)?
To achieve the desired output, you can use the addvars function to add the variable x3 from R2 to R1, and then add a new row wit...

1 year ago | 0

Answered
how to close powerpoint
If you want to close a PowerPoint presentation that you opened earlier in your script, you can use the Close method of the Prese...

1 year ago | 0

| accepted

Answered
When using Simulink External Mode with an AXI4-Stream IIO Read block, if the timeout value is greater than zero, it cause the simulation time to be slower than actual time
Hi, It sounds like you are experiencing some issues with the AXI4-Stream IIO Read block in your implementation. Without more sp...

1 year ago | 0

| accepted

Load more