Beantwortet
induction motor response not satisfying
At 1st, the smoothed torque profile (curve) is not smooth enough, and it does show consideable rattling that need to be removed ...

3 Monate vor | 0

Beantwortet
Where can I find video files with the avi extension ?
If you want to find out what .avi files are resiging in a specific directory/folder, then this is how to do it: Folder = '\OneD...

3 Monate vor | 0

Beantwortet
How do I create a copy command, after I create Simulink?
There are a few options to share your model with your colelague/friend. One option is using packaging your project. Step 0. Cr...

3 Monate vor | 0

Beantwortet
How to get a colorbar to show only a specified range of values?
Use caxis() command. E.g.: % Create a data set: D = rand(200, 200) * 1e5 + 10; % Visualize the data set: imagesc(D) % A...

3 Monate vor | 0

Beantwortet
Pulling in data exported from the Data Inspector into another model
There are a few options that can be used to store simulation data from a Simulink model: (1) [To File] to store data in .mat fi...

3 Monate vor | 0

Beantwortet
Where can I find the 'b747.jpg' image
Note that starting in Jan 2022, MATLAB/Simulink toolboxes don't come with a builtin stock images including B747.jpg. Therefore, ...

3 Monate vor | 0

| akzeptiert

Beantwortet
Which block should be used for numel function in simulink?
I don't know if there is any Simulink block for numel() or size(), which are handled in Simulink automatically. In your execise ...

3 Monate vor | 0

Beantwortet
How can I alter the MarkerSize of a plot on MATLAB Onramp?
The answer is: hold on x = lambdaHa; y = sHa; plot(x, y, "rs", "MarkerSize", 8)

3 Monate vor | 0

Beantwortet
How can I convert cell array to an arrary matrix?
This is how it can be attained: A = load('cell_array.mat').ans; for ii = 1:numel(A) H = A{ii}; K{ii} = cat(1, H(:)')...

3 Monate vor | 1

Beantwortet
3D balloon plot
WHat you are trying to generate is a surf() or mesh() type of 3D plot using your data. If so, here is a nice soulition proposed ...

3 Monate vor | 0

Beantwortet
How to make simulink model for smart battery pack?
There are a number of nice sources how to model battery packs and their management in Simulink. E.g.: (1) https://www.mathworks...

3 Monate vor | 0

Beantwortet
How do I return the indexed values unsorted, in the original order in which they appear in a vector?
Understood your question correctly, this is what you are trying to achieve: radius_gl = readmatrix('D_GAMT.txt'); % Copied you...

3 Monate vor | 0

Beantwortet
How to vectorize the given code?
One quick comment is that xe and xo have the same values and therefore, the error is "0". u=[1 2 40 70];b=u; [~,C]=size(b); P...

3 Monate vor | 0

Beantwortet
Plotting inequalities on the complex plane
Is that what you are trying to attain: % Grid size: N = 100; % Defined grid in X and Y planes: [X, Y] = meshgrid(linspace(...

3 Monate vor | 0

Beantwortet
Help on Noise Power
If understood correctly, what you are trying to attain is to generate a few different noise powers from the given signal. If so,...

3 Monate vor | 0

| akzeptiert

Beantwortet
Handwritten number recognition app
Have tried this APP published in MATHWORKS: https://www.mathworks.com/matlabcentral/fileexchange/67297-handwritten-text-recogni...

3 Monate vor | 0

Beantwortet
My output text file continues to have a delimiter. How do I change this in my code?
Hi Jonathon, Your code is working as it should :). ... % One delimeter is put here and therefore, it is outputting one empt...

3 Monate vor | 0

| akzeptiert

Beantwortet
How to select which parameters will be optimized in a model?
If you are considering few other cases, it would be necessary to consider which parameters to be optimized and which one to be l...

3 Monate vor | 0

Beantwortet
Values within a cell array must be numeric, logical, or char
Which line is causing the issue? In this example, all steps of converting struct - 2 - table and table - 2 - cell are working o...

3 Monate vor | 0

Beantwortet
How to import data (text and numbers) from a tabuled .dat file in MATLAB?
It is reading ok: % *.data can be uploaded and thus, .txt file format is taken. Both works % table0 = readtable('Mechanism.dat...

3 Monate vor | 0

| akzeptiert

Beantwortet
error in line 15 at initial conditions please help
This is how the code should be put together and executed: % Initial conditions initial_conditions = [pi/4; 0]; % Solve the OD...

3 Monate vor | 0

Beantwortet
Figures generated in Live Script are displayed as old plots with same figure(n)
Using figure command between the plots solves this ambiguity. a= 1:10; b=rand(10,1); c=rand(10,1)+5; figure plot(a,b,a,c) ...

3 Monate vor | 0

Beantwortet
Need support in Matlab for signal processing can anybody ne help me in completing my lab works. works
If you have not visited to the MATHWORKS documentation and help library of the Signal Processing toolbox, here is one good start...

3 Monate vor | 0

Beantwortet
Interpolation via Zero Padding
Is this what you are trying to get: N = 30; x = (0:N-1)/N; Ni = 5 * N; % By a factor "5" xi = (0:Ni-1)/Ni; f = exp(sin...

3 Monate vor | 0

| akzeptiert

Beantwortet
How do I get the area of a zone covered by disconnected blobs in an image?
It will be somewhat like this one: close all; clearvars % Image Import: I = imread('Chip_image.png'); % Grayscale Conversio...

3 Monate vor | 1

Beantwortet
desktop real time ,analog output,pci-6289 ,'device not failed'
These are the general steps on how to address the problem arised in this exercise: 1. Yes, an appropriate driver for your PCI-6...

3 Monate vor | 1

Beantwortet
How to calculate the latitudinal and longitudinal coverage of the area of the circle that subtends an angle of 4 degree at the location on the surface of the Earth?
It is something like this way: % Given Data: centerLatLong = [-11.9459279123647, -76.84862390044384]; % Latitude and Longitud...

3 Monate vor | 0

| akzeptiert

Beantwortet
Filter rows and columns with datas (find)
In this case, the combined filter data should be used: [LonIndex, ~] = find(any(combined_filter, 2)); [~, LatIndex] = find(any...

3 Monate vor | 1

| akzeptiert

Beantwortet
excel-like formula column
If understood correctly, this is what you are trying to achieve, e.g.: % Initialize a matrix with two columns of data (Morning ...

3 Monate vor | 0

Beantwortet
how to get data(u,v,w) corresponding to spicific x ,y ,z in 3D quiver in matlab?
if the quiver3() plot figure is obtained/saved, the data can be extracted, e.g., fig = openfig('Q3.fig'); fig = gcf; axObjs =...

3 Monate vor | 0

| akzeptiert

Mehr laden