Answered
Is there a way to have C1 continuous curve fit?
syms m x b syms xi syms c_3 c_2 c_1 c_0 L(x) = m*x+b P(x) = c_3*x^3 + c_2*x^2 + c_1 * x + c_0 tangent_Li = subs(diff(L,x), ...

3 years ago | 0

Answered
The given below i put 100%efforts but do not solve.so please help me. I prepocessed the three signals and added the nm2cm but do not pass the test cases.
You do not have a signal named harp_cm so it is not possible that you have plotted harp_cm

3 years ago | 1

Answered
error using xcorr function to compare audio file that is recorded by device microphone
Your y1 is stero but needs to be mono

3 years ago | 0

| accepted

Answered
how to extract elements that are not succesive
Y([1, 3, 6]) or Y(round(5*(1:3)/2-5/3))

3 years ago | 0

Answered
difference between data(:,3:4) and data(:,end:end-1) in data=7x4 matrix
For a 7 x 4 matrix, end as the second coordinate would be 4, and end-1 for the second coordinate would be 3. So data(:,end:end-1...

3 years ago | 0

Answered
When plotting perceptron dataset using plotpv, the plot doesn't categorize the legends, but just repeats for all target data.
plotpv(X,T) take an RxQ matrix of Q R-element input vectors X and an SxQ matrix of S-element target vectors T, and plots th...

3 years ago | 0

Answered
Updating Y Axes on either side of my plot while zooming in
See linkaxes

3 years ago | 0

Answered
Duplicate the wanc signal. Name the copy wanc_bandpass. Bandpass filter wanc_bandpass from 2 to 10 Hz. Compare wanc and wanc_bandpass in the time and frequency domains.
I do not see any plots, so I would have to say that NO, spectra of the wanc and wanc_bandpass are not displayed. wanc_filt is n...

3 years ago | 0

Answered
How to do this unusual Fourier transform?
Anyway, let's say f_t = rand(40,1). Let's not say that. f is a function of t. By saying that f_t = rand(40,1) you are saying ...

3 years ago | 0

Answered
Saddle points of a 2D matrix
M = imread('cameraman.tif'); SM = [0 0 0; 1 1 1; 0 0 0]; maxmask1 = imregionalmax(M, SM); minmask1 = imregionalmin(M, SM); ...

3 years ago | 0

Answered
Only problem at printing using printer
The qr.png image that you displayed occupies more than about 8 inches wide when displayed. When you ask to print that, the setti...

3 years ago | 0

Answered
How to check if an object is NaN
https://www.mathworks.com/help/matlab/ref/isequaln.html

3 years ago | 1

| accepted

Answered
Unrecognized function or variable 'time_data'.It says undefined even though it's defined. Help me PLEASE.
The "Property" heading of the first image tells us that you are not using the workspace browser to look at the base workspace. T...

3 years ago | 0

Answered
Would it be possible to connect a Jetson nano and a Speedgoat performance real-time target machine in the same real-time Simulink model?
You will have problems doing synchronization unless you take special steps or use special hardware. One approach is to use NiDA...

3 years ago | 1

| accepted

Answered
How to display space Key in MATLAB App Designer
v = char(InputTextEditField.Value); v(isspace(v)) = []; Now use the characters in v.

3 years ago | 2

| accepted

Answered
How can I have automatic marker shapes for multiple curves
The relevant documentation is at https://www.mathworks.com/help/matlab/ref/matlab.graphics.axis.axes-properties.html . Unfortuna...

3 years ago | 2

| accepted

Answered
Cannot install add-ons in MATLAB R2023a on Linux
See https://www.mathworks.com/matlabcentral/answers/1978579-why-do-some-matlab-features-fail-on-ubuntu-23-04-and-debian-12-with-...

3 years ago | 1

| accepted

Answered
How to specify number of decimals in table2word or writematrix
For the case of a text file, dlmwrite supports a Precision parameter that can be number of digits or can be a format specificati...

3 years ago | 0

Answered
Is there an 'Is___' Function that Checks if a Value is a [ ]?
isempty -- though isempty tests for any datatype that has a dimension of length 0 . If you want to specifically test for [] the...

3 years ago | 1

Answered
how to calculate energy consumption for wireless network
Are you using the same transmit power for every message? Is the total power to transmit a particular message constant or does it...

3 years ago | 0

| accepted

Answered
Is there a way to use a for loop to loop through structure fields?
A = 'A data here'; B = 'B data here'; C = 'C data here'; mystruct.field1 = A % A, B, C are M x N x M x N arrays mystruct.fi...

3 years ago | 0

Answered
How do I use an integral in lsqcurvefit whose bounds involve the xdata parameter?
xdata = [1 2 3 4 5 6 7 8] ydata = [101 102 103 104 105 106 107 108] %this is all fake numbers, just an fyi alpha = @(n)n.^2; %...

3 years ago | 0

| accepted

Answered
Finding name of single frames when reading a Tiff stack file
Individual TIFF frames do not have "names". If you were to read in a bunch of image files and combine them into a TIFF file, the...

3 years ago | 0

Answered
elements >0 are present in matrix only once
If you need to determine which entries are present more than once, one of the ways is to use findgroups and accumarray and logic...

3 years ago | 0

Answered
I'm unable to resolve issues present in this code neither getting proper results. Can anyone help correct my mistakes and resolve it to get better results?
PF=zeros(14); PF(11:14,11:14)=eye(4); PF(9,5)=((1-alpha1)*beta1)+((1-alpha2)*beta2); PF(9,6)=((1-alpha1)*beta1)+((1-alpha2)...

3 years ago | 0

Answered
Add text to plot using a loop
AM_cm=([400:1:4000]); AM_cm=AM_cm.'; AM=([rand(3601, 1) rand(3601, 1) rand(3601, 1) rand(3601, 1) rand(3601, 1)]); figure(1...

3 years ago | 1

| accepted

Answered
Cant seem understand the error in code
You have an end statement corresponding to for j but you do not have an end statement corresponding to for i I suspect you wan...

3 years ago | 0

Answered
Getting an error while solving fractional differential equation using Physics-informed Neural Network
You are attempting to run the function solve_caputo_fractional without passing in two parameters, the second of which is the end...

3 years ago | 1

| accepted

Answered
Help revise the code
starting from the beginning of * ((((2)^(1 / (1 - epsilon)) - (z_hat + eta)^(1 / (1 - epsilon))) + (((z_hat - eta)^(1 / (1 ...

3 years ago | 1

Answered
Terminating the external program with system command.
On Windows systems, there is an alternate mechanism. If you use the .NET System.Diagnostics.Process interface, you can start pr...

3 years ago | 0

Load more