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

4 months ago | 1

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

4 months ago | 0

| accepted

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

4 months ago | 1

| accepted

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

4 months ago | 0

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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months ago | 0

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

4 months 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 months 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 months 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 months 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 months 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 months ago | 0

| accepted

Load more