Respondida
Can we model a BLDC motor as a generator in MATLAB?
Yes, it is possible to model a BLDC (Brushless DC) motor as a generator in MATLAB Simulink. To do this, you can use the Simulink...

12 meses hace | 0

Respondida
boundary conditions and solvepde
Based on your description, it seems like the issue is with how you are applying and updating the boundary conditions for differe...

12 meses hace | 0

| aceptada

Respondida
Need help in projected area of pipe along the direction of flow
It looks like there might be a mistake in your code while calculating the projected area of the elements. The issue seems to be ...

12 meses hace | 0

Respondida
How to see all the windows at a time on a single display
In MATLAB, you can arrange multiple windows in a single display using the "Tiled" layout option. This feature allows you to orga...

12 meses hace | 0

Resuelto


Given an unsigned integer x, find the largest y by rearranging the bits in x
Given an unsigned integer x, find the largest y by rearranging the bits in x. Example: Input x = 10 Output y is 12 ...

12 meses hace

Resuelto


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

12 meses hace

Resuelto


Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

12 meses hace

Resuelto


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

12 meses hace

Resuelto


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

12 meses hace

Respondida
I need to adda legend to this code, as tried in the last three lines !
No, the code you provided has a few issues in adding legends. Here's the corrected version of the code: x = categorical({'Pre...

12 meses hace | 0

Respondida
How can I export a table to the active Excel sheet?
To write data back to the active sheet in Excel without specifying the sheet name, you can use the "actxserver" interface to int...

12 meses hace | 0

Respondida
Block least-squares parameters estimation
Estimating a(t) from the output y(t) in the presence of noise can be done using system identification techniques. One approach y...

12 meses hace | 0

Respondida
How to simulate a counter current fixed Bed Reactor
Here's how you can modify your code for a countercurrent reactor: % Update initial conditions for countercurrent reactor nNa(1...

12 meses hace | 0

| aceptada

Respondida
How to get the TRUE PARETO data for test functions for multi-objective optimization?
Obtaining the true Pareto front typically involves using mathematical or analytical methods to compute the optimal solutions tha...

12 meses hace | 0

Respondida
How can I code Finite element discretization of 2D for rectangular object ? .... The sample is attached on the picture.
check this one % Define problem parameters Lx = 1; % Length of the rectangular domain in the x-direction Ly = 1; % Length of ...

alrededor de 1 año hace | 0

Respondida
ddpg agent does not learn
Check this % Define the observation and action space numObs = 4; % Replace with the actual number of observation features num...

alrededor de 1 año hace | 0

Resuelto


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

alrededor de 1 año hace

Resuelto


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

alrededor de 1 año hace

Resuelto


String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

alrededor de 1 año hace

Resuelto


Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

alrededor de 1 año hace

Resuelto


Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

alrededor de 1 año hace

Respondida
rt_round redefinition problem
It seems like you are encountering a conflict with the `rt_roundd` function in your MATLAB code generation for the Autosar platf...

alrededor de 1 año hace | 0

Respondida
How to regrid along latitude and longitude of a 3d mat file
% Load the original data from the mat file (assuming the variable name is 'originalData') load('your_data_file.mat', 'originalD...

alrededor de 1 año hace | 1

| aceptada

Resuelto


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

alrededor de 1 año hace

Resuelto


Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

alrededor de 1 año hace

Resuelto


Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

alrededor de 1 año hace

Resuelto


Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

alrededor de 1 año hace

Resuelto


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

alrededor de 1 año hace

Respondida
Different training results for neural network when using full dataset versus partial dataset
The difference in results between scenario 1 and scenario 2 could be due to the different order of data samples seen during trai...

alrededor de 1 año hace | 0

| aceptada

Respondida
What is the difference between readall and read+hasdata?
The functions `readall` and `read` with `hasdata` are used for reading data from datastores. These functions are not exactly the...

alrededor de 1 año hace | 0

Cargar más