Answered
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 =...

4 maanden ago | 0

| accepted

Answered
eigs function works slowly
Note that eigs() is NOT computationally efficient and thus, eig() can be employed instead, e.g., A = randi(250, 100); options ...

4 maanden ago | 0

Answered
Inputs and targets have different numbers of samples
Without seeing your data, a couple of points: (1) Why you are selecting the data sets for model training, validation and testin...

4 maanden ago | 0

Answered
How can I get multiple values from a formula where the inputs are based on an array?
I really wonder why my submitted asnswer disappeared. The system has some failures. This is the answer that I submiited yesterda...

4 maanden ago | 0

Answered
How can I adjust the setting of analog signal sampling with STM32 using Matlab Simulink.
Increase data sampling rate, e.g., 2.5kHz or higher and re-collect your data. It will solve the problem.

4 maanden ago | 0

Answered
recreating in matlab Butterworth Filter filter response
Here is the complete corrected code (figure 2 is from your code which is correct): w1 = 20.01; w2 = 24.36; H1=tf(1,[1/(w1^4),...

4 maanden ago | 1

| accepted

Answered
Renaming data to create legend for figure ploting
It can be attained using legend() command, e.g.: A = randi([-5 25], 5, 13); B = 1:size(A,2); plot(B,A, '-o', 'linewidth', 2) ...

4 maanden ago | 0

| accepted

Answered
How can i upload this raw format image in the matlab?
These are common procedures: (1) Image import / read by MATLAB: imread() (2) Image export in whatever format: imwrite() or sav...

4 maanden ago | 0

Answered
HOW can I export table in latex outside to desktop?
Just to write or export imulation date from MATLAB into external application can be attained with writetable(), e.g.: run('tabl...

4 maanden ago | 1

| accepted

Solved


Golomb's self-describing sequence (based on Euler 341)
The Golomb's self-describing sequence {G(n)} is the only nondecreasing sequence of natural numbers such that n appears exactly G...

4 maanden ago

Solved


MatCAT - Reconstruct X from Its X-rays
Consider a matrix x x = [ 1 2 0 0 5 0 3 0 8 ] If we sum x along the rows we get row_sums = [3 5 11] ...

4 maanden ago

Answered
Trained svm model can't make predictions with new data
Presuming that you are working with fitrsvm() for regression model development, e.g., % E.g. Data for model training: x_train...

4 maanden ago | 0

Answered
Identifying smoothness on different plots without jumps or kinks
For f1.txt, the model formulation will be the best fit, e.g.: D1 = load('f1.txt'); X1 = linspace(-25, 25, numel(D1)); % Dat...

4 maanden ago | 0

Answered
I have a problem with 2D plot.
It should also work with this syntax X1=[300 400 500 600]; X2=[4 3.5 3.0 2.5]; Y=[0.3 0.4 0.5 0.6]; t = figure(1); ax1 = ax...

4 maanden ago | 1

Answered
Mismatch result in comparison operation in Simulink
The problem is caused by sine wave generator. Try to tighten the sample time, e.g. 1e-9.

4 maanden ago | 0

Answered
Identifying smoothness on different plots without jumps or kinks
Here is one solution with ftnlm(): D2 = load('f2.txt'); X2 = linspace(-25, 25, numel(D2)); % Data shows that a Nonlinear Sigm...

4 maanden ago | 0

| accepted

Answered
I want to do a general code to make a transfer function of any rlc circuit
The transfer function of RLC circuit will be derived using input voltage vs. voltage across capacitor (1) or input voltage vs. c...

4 maanden ago | 0

Answered
I have a problem with 2D plot.
Here is one possible solution: X1=[300 400 500 600]; X2=[4 3.5 3.0 2.5]; Y=[0.3 0.4 0.5 0.6]; t = tiledlayout(1,1); ax1 = a...

4 maanden ago | 0

| accepted

Answered
newton raphson methon and symbolic functions
Here is another alt. solution: R=3; h=0:0.1:6; V=pi.*h.^2.*(3*R-h)/3; plot(h,V,'k'); IDX = find(ceil(V)==30); hold on plo...

4 maanden ago | 0

Answered
can help me to found empirical equation for data L1 vs T1
Just looking at your data, a first part of it looks like a nice polynomial fit (until it it drops). Here is one easy fit model w...

4 maanden ago | 0

Answered
Using YOLOX with MATLAB for Human Detection
Here are a few nice documentations on YOLOX: DOC1 DOC2 DOC3

4 maanden ago | 0

| accepted

Answered
how to save result in matlab neural network 2023
Understand what issue you are facing with the net() - neural network simulation. Here is one code automatically generated by MAT...

4 maanden ago | 0

Answered
Static text with Gui and condition
As @ Muhammad advised, using local variable is more preferable for two reasons - (1) avoid confusion and (2) easy to edit/handle...

4 maanden ago | 0

Answered
calculate with Twiddle factor
This is one of the possible solutions: N = 4; Twiddle_Factors = zeros(N, N); for k = 0:N-1 for n = 0:N-1 Twiddl...

4 maanden ago | 0

Answered
How can I write noise removal and blur deblur codes in a single matlab code using fft?
This is what you are trying to obtain: O_img = imread('MATLAB.jpg'); % Create a blur kernel, e.g., Gaussian noise type of blur...

4 maanden ago | 0

Answered
How to assign diffrent colors and shapes to diffirent groups in a plot?
Is this what you wanted to achieve: clearvars;clc;close all; Group = {'A','B','C','D','E'}; C3 = cellstr(Group); % convert ce...

4 maanden ago | 0

| accepted

Answered
I want to get a scaled vector field $\vec F=(x^2-x)i+(y^2-y)j$. The Fig should be like the attached Fig:
Is this what you are trying to obtain: [x, y] = meshgrid(-2:0.25:2); % x and y values F_x = 1*(x.^2 - x); % Th...

4 maanden ago | 0

| accepted

Answered
MATLAB reads my old tsv file instead of the new one after I have updated it.
It seems from a quick glance that the directory of your updated file .tsv is not specified.

4 maanden ago | 0

Answered
Newtons law of cooling
Is this what you want to compute: % Given intial data: T0 = 30; T_initial = 100; T_target = 75; ...

4 maanden ago | 1

| accepted

Answered
How to overwrite an excel file, matlab 2018?
Here is one code if understood your question correctly: FName = 'Renew_Table.xlsx'; D = array2table(randi(255, 7, 3)) writeta...

4 maanden ago | 0

Load more