Réponse apportée
DIFFERENCE BETWEEN SIGNALS AND PARAMETERS
Signals would be t vs amplitude plots. Parameters are charactersitics of signals such as amplitude, frequency, phase etc.

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
a 3d plot but in a specific range
You pick your x,y to the given range. x = linspace(0,1) ; y = linspace(2,3) ; [X,Y] = meshgrid(x,y); psi_19 = (2*X) + Y ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Image processing code debugging
This line: P = regionprops(Iin, 'Perimeter'); Check the class of P class(P) It seems it is a structure and you can use it in...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to use interpolation?
Let lon,lat,U be your 2D data, and x,y,u be your buoy data. Ui = interp2(lon,lat,U,x,y) ; If your data is #d (I hope it is),...

plus de 3 ans il y a | 0

Réponse apportée
How to replace the zero with NaN in the specific column of cell arrays?
Let A be your m*3 array. A(A(:,2)==0,2)=NaN ; % repalce second column with NaN's A(A(:,3)==0,3)=NaN ; % replace third column ...

plus de 3 ans il y a | 1

Réponse apportée
Find x and y cordinates and t for z=0
Let x,y,z,t be yout required arrays. GEt the index of z where it is z = 0. Using this index, you can get what you want. tol = ...

plus de 3 ans il y a | 0

Réponse apportée
how do i plot this?
x=linspace(-2,6) ; f=(2*x./x.^2+1)-(x./sqrt(3*x+6)); %<--- element by element division plot(x,f)

plus de 3 ans il y a | 1

Réponse apportée
How to crop the image within certain limits?
Read about imfreehand, Freehand. If you know thoese certain values. Use contour to get the closed region of the required region...

plus de 3 ans il y a | 1

Réponse apportée
Inverse of a matrix in MATLAB and Python
You are to trying to fid the inverse of a singular matrix. A singular matrix is the one which doesn't have inverse. So different...

plus de 3 ans il y a | 1

Réponse apportée
How to write code for moments matrix?
https://in.mathworks.com/matlabcentral/answers/71678-how-to-write-matlab-code-for-moments https://in.mathworks.com/help/stats/...

plus de 3 ans il y a | 1

Réponse apportée
Problem reading double array from excel
REad about readtable

plus de 3 ans il y a | 1

Réponse apportée
Same code in a loop but different plots
area also supports linestyle, none. load('sample.mat') thr = [0.0057 0.0401 0.0090 0.0216]; t = (0:length(sample)-1)/2000;...

plus de 3 ans il y a | 1

Réponse apportée
Extracting text from a video
v = VideoReader('Large_Patron_Trim\Large_Patron_Trim.mp4'); N = v.NumFrames ; % Total number of rames ROI = [1008 215 50 3...

plus de 3 ans il y a | 1

Réponse apportée
BAR GRAPH plot - grouped legend
Refer this: https://in.mathworks.com/matlabcentral/answers/1670649-bar-plot-with-a-hatched-fill-pattern?s_tid=srchtitle https...

plus de 3 ans il y a | 1

Réponse apportée
Hatched Bar graph or Pattern bar graph
Refer this: https://in.mathworks.com/matlabcentral/answers/1670649-bar-plot-with-a-hatched-fill-pattern?s_tid=srchtitle

plus de 3 ans il y a | 1

Réponse apportée
Average intensity of an image
A = magic(5) ; [m,n] = size(A) ; iwant = 0 ; for i = 1:m for j = 1:n iwant = iwant+A(i,j) ; end end iwan...

plus de 3 ans il y a | 1

Réponse apportée
Why am i recieveing only one output even though my input is a matrix
You need to use element by element operations. clc; clear all ; clear all close all %hertzian contact calculator for a spher...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
How to use regression to find equation of data set?
x = [12 12.5 13 13.5 14] ; y = [61 61.5 62 62.5 63] ; [X,Y] = meshgrid(x,y) ; Z = [120 114 103 93 80 124 120 109 97 85 1...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
My code is returning a complex array
There is a typo in your code. x = -10:1:10 ; y = zeros(size(x)) ; for j = 1:length(x) y(j) = power(2.72,-0.2*j); %<--...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
i can not load load WaveformData
That matfile will be available in 2022b version. It seems you are using a lower version.

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
2D interpolation of data
data = [1 1 7 2 3 9 3 5 8 4 6 4] ; x = data(:,1) ; y = data(:,2) ; z = data(:,3) ; F = scatteredInterpolant(x,y,z) ; xi...

plus de 3 ans il y a | 2

| A accepté

Réponse apportée
how can I calculate ocean current speed from u and v data?
Let u and v be the components. s = sqrt(u.^2+v.^2)

plus de 3 ans il y a | 1

Réponse apportée
Plot eigenvectors of a square matrix in Matlab
plot(Eig_vector)

plus de 3 ans il y a | 1

Réponse apportée
Using solution from vpasolve and syms for another function
A =[ 0 0 0 1.0000 0 0 0 0 0 0 1.0000 0 ...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
How can I make my code run faster?
c = zeros(size(d)) ; idx1 = d >= 0.05 ; c(idx1) = 1 ; idx2 = d < -0.05 ; c(idx2) = -1 ;

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
repetitive looping and plotting
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1175788/newdata3.csv') ; data = reshape(T.(2),6000...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
Interpolation of missing matrix element
M = [43.13 0 42.88;0 39.32 0;41.81 0 43.27]; M(M==0) = NaN M = fillmissing(M,'linear') M = fillmissing(M','linear')'

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
How to separate points under a line in a scatter plot
Refer the theory here: https://www.emathzone.com/tutorials/geometry/position-of-point-with-respect-to-line.html %Importing xy ...

plus de 3 ans il y a | 1

Réponse apportée
Why am not getting any graph?
clc; clear all ; clc; clear; syms p; x = 13.61015; y = 13257; a = 5.14; b = 11.47; err1 = 0.000001; f = (x^3 + p^2*x^2 ...

plus de 3 ans il y a | 1

Réponse apportée
How to use importdata to import the data from a csv file
Read about readtable.

plus de 3 ans il y a | 1

Charger plus