Solved


Find the nearest integer
Given a vector of integers and a real number find the closest integer. EX: >> a = [2 4 5 6 8 10]; >> b = 4.6; >> nea...

2 years ago

Solved


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

2 years ago

Answered
Rectify image with known coordinates
Hi JCD, Hi JCD, Now that you have provided the full code, let me break down your requirements and provide a structure...

2 years ago | 0

Answered
getting name of the txsite that offers best SINR (or signal strength)
Hi Darkh, To approach this problem, begin by specifying the geographical area where you want to analyze the signal strength. ...

2 years ago | 0

Answered
How do I generate constant harmonic currents
Hi David, To generate constant three-phase harmonic currents in Simulink using the three-phase constant current block, you ...

2 years ago | 0

| accepted

Answered
I want to know the properties of ray instead of each path in Matlab ray-tracer for RF propagation
Hi Abdul, To create a dataset for predicting RF ray properties after interactions in MATLAB, you can simulate the path of RF ...

2 years ago | 0

Answered
How to package a MATLAB web program
Hi 健文, Based on your description, it seems you are developing a software package that is distributed as a web program and dep...

2 years ago | 0

Answered
How can i make optimization of nonlinear spring
Hi Noura, To optimize a nonlinear spring in MATLAB, you can utilize the built-in optimization functions such as fmincon or ls...

2 years ago | 0

| accepted

Answered
Change value of stream mass flow in HYSYS using matlab
Hi Alma, It seems like you are encountering an issue while trying to set the value of stream 'PFD136' to 'flow_136'. The erro...

2 years ago | 1

| accepted

Answered
Help designing very low pass filters (sub-mHz) for long time series
Hi Darcy, I do highly appreciate your recent comment. Instead of appreciating my contribution towards resolving your problem,...

2 years ago | 0

Answered
Algebraic loop in MRAC discrete model
Hi Yovel, When dealing with algebraic loop errors in a discrete RMAC model, it is crucial to understand the nature of the probl...

2 years ago | 0

Answered
I/Q modulator
Hi Dov, In Simulink's RF Blockset, the I/Q modulator tool typically accepts sinewaves as inputs for modulation. However, there ...

2 years ago | 1

| accepted

Answered
Help plotting signal time shifted using FFT
Hi Guilhermo, I am pleased to hear that the solution provided worked for you. If you have any further questions or need assis...

2 years ago | 0

Answered
Plotting (threshold, peaks etc.) in Signal Analyzer App
Hi Priesemut, You can indeed add threshold lines or highlight peaks within the Signal Analyzer App. Here's a step-by-step gui...

2 years ago | 0

Answered
Error message "'sequenceInputLayer requires Deep Learning Toolbox" running MATLAB from terminal
Hi Richard, Sorry to hear that you’re are still having problems. When encountering issues with the availability of the Deep L...

2 years ago | 0

Answered
Simulink IGBT block control issue
Hi Kenny, To simulate a 500-volt reading on a scope using an IGBT block in Simulink, you need to correctly wire the gate, col...

2 years ago | 0

Answered
Custom Deep Learning Network for Xilinx FPGA target
Hi Paul, When encountering the error related to insufficient InputMemorySize for the Conv module in the processor configurati...

2 years ago | 0

| accepted

Answered
I don't know how to simulate the XB24CZ7WIT-004 XBee Module antenna via Matlab.
Hi Ali, Simulating antennas in Matlab, especially with the Antenna Toolbox plugin, can be a powerful tool for various project...

2 years ago | 0

| accepted

Answered
Best method to simulate a lead-acid battery to later be used in an MPC Controller
Hi Raul, To address your query regarding the application of the provided code snippet in Simulink, specifically for creating ...

2 years ago | 0

Answered
Can't dewarp image using fitgeotform2d and imwarp
Hi JCD, When dealing with image transformations and reversals in Matlab, it is crucial to ensure the correct usage of functio...

2 years ago | 0

Answered
How can I manipulate the 2D data to make it smoother
Hi Luqman, To achieve your desired modification in the surface plot, you can manipulate the data points within the region of ...

2 years ago | 0

| accepted

Answered
I encounter a memory leak warning when i simulate my simulink model from a GA optimization code which iteratively simulate my model
Hi Joel, In response to this issue, it is crucial to ensure proper pairing of calls to the "setupRuntimeResources" and "clean...

2 years ago | 0

Answered
How to use the class of Interleaved ADC.m?
Hi Feilong, In response to your first question about why the input signal "analog" should be a scalar, it is essential to und...

2 years ago | 0

Answered
plotting from a loop using timeranges
Hi SD, To successfully plot temperature monthly means for different date ranges within a loop, you need to ensure that the da...

2 years ago | 0

Answered
Simulink IGBT block control issue
Hi Kenny, Sorry to hear that you are having difficulties. You mentioned, At the moment, I am just doing some testing, whe...

2 years ago | 0

Answered
help in creating a loop
Hi Mario, Based on the provided code snippet, it seems like you are attempting to correlate PIV (Particle Image Velocimetry) ...

2 years ago | 0

| accepted

Answered
how to import parameters (weights and bias) in simulink
Hi Ahmad, Now it makes sense. You have the necessary files containing the parameters, model function, and MATLAB code. To ad...

2 years ago | 1

| accepted

Answered
I want to calculate basic reproduction number, how to make 6x6 matrix and also how to add different parameter
Hi KKomal, In Matlab, calculating the basic reproduction number (R0) involves translating the mathematical formula into code....

2 years ago | 0

Answered
The frequency response between the components obtained from wavelet decomposition and the original signal
Hi 志鹏 汪, The discrepancy in the FFT of the component corresponding to the last approximation coefficient obtained after wavel...

2 years ago | 0

Answered
Plotting (threshold, peaks etc.) in Signal Analyzer App
Hi Priesemut, It's great to hear that you are utilizing the Signal Analyzer App for signal exploration. To address your speci...

2 years ago | 0

Load more