Réponse apportée
Change intensity of zplane figure
Changing the properties requirees a bit of handle-spelunking, however it is possible. Try this — [z,p,k] = ellip(4,3,30,20...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
color region in the plot based on the values
Try this — LD = load('matlab.mat'); A = LD.A thrshld = 5; Lv = A(:,2) > thrshld; idx1 = find(Lv); idx2 = idx1(diff([0; ...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Problem with fill()/patch() between two lines in R2023a
I am not certain what result you want. For column vectors, use flip (or flipud) and concatenate the vector arguments vertica...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
xlim in boxchart not working
It would help to have the data and code to test, since I cannot find any examples in the boxchart documentation that could prov...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Is it possible to implement an array as a variable inside a state space matrix?
You would have to integrate your model using one of the numerical integrators such as ode45. It is definitely possible to use ...

presque 3 ans il y a | 0

Réponse apportée
Fitting an exponential equation to this data with CFtool
I get this result with fitnlm — y=[10 80 120 180 280 415 680 972 1178 1322 1445]; t=[50 300 410 600 900 1190 1797 2400 3000 3...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Get datetime from variable name
When I look at the .png files, all the values appear to be the same among all the other variables. I am not certain what you wa...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
How to create a FRF graph of the real and imaginary parts of a signal
It appears that is its default behaviour if you request outputs — load modaldata figure subplot(2,1,1) plot(thammer,Xhamm...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
How to label names in bar graph?
One approach (using xticklabels introduced in R2016b, as was string) — Data = rand(8,3); xlables = ["THD" 3 5 7 9 11 13 15]; ...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
I loaded a data file, but why is matlab not able to name the different columns of data within the txt file?
It would be best not to convert the .csv file to a text file (or to anything else) initially. Instead, use readtable to read ...

presque 3 ans il y a | 0

Réponse apportée
Error "First input argument must be a function handle." function used fzero Please help to resolve the issue. Thanks
The assignment statements are out-of-order (so ‘n’ and ‘hf_0’ do not yet exist when they are assigned in ‘LHS’) and two functon...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
how to code equation
Using the Symbolic MAth Toolbox — syms xi lambda psi Eqn = psi - log(psi) == -3 * -4 * log(lambda/2) + 4 * log(xi) + 2 * la...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Error when using interpolation method
The serial numbers change position because timetable arrays require that the time vector be the first column, regardless of how ...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
want to calculate std_value and mean_value
There are 395449 ‘Inf’ values in ‘img’ (probably the result of the subtraction in the denominator of the transformation) so thos...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Finding y-intercept for loop
I made some minor changes to your code, and added a loop to return reasonably precise values of ‘y’ for each intersection. Your...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Removing the noise/filter
The signal has broadband noise, so ffrequency-selective filters will not work well to limit that noise. The best approach fro b...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
i have to read an exel file which has iterations and cl/cd/cm and make a loop for plotting subplots for cl/cd/cm vs iteration which has different angle of attacks.
If you need to do those plots in a loop, and assuming that the table variable names are (in order): iteration1, cl, iteration2, ...

presque 3 ans il y a | 0

Réponse apportée
Help in integration in MATLAB?
If you want a numeric result, use the vpaintegral function — syms w L = (5.*(i.*w).^5 - 170.*(i.*w).^3 + 1125.*(i.*w))./(5.*(...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
How can I find the peak location from the FFT output?
Missing data file. However this is straightforwazrd — Fs = 1000; L = 10; t = linspace(0, L*Fs, L*Fs+1)/Fs; % [1 2 3]'...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
ODE Solver Running Very "Slowly"
Your system is ‘stiff’ because the parameters span several orders-of-magnitude. Use a ‘stiff’ solver such as ode15s instead — ...

presque 3 ans il y a | 0

Réponse apportée
Unable to read datetime with format "0600 UTC OCT 25"
That is almost correct. Use 'MMM' for months in that format, and 'HH for hours. Try this — Name = ["1200 UTC OCT 10" ...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
For Loop for Symbolic
I am not exactly certain what the problem is, however creating as a sym matrix and re-defining the loop indices so that they ar...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
how do i plot a graph after a for loop
Subscript the variables-of-interest in the loop according to the loop index counter values, and then plot those variables after ...

presque 3 ans il y a | 0

Réponse apportée
How can I get MATLAB to preserve column names as variables when importing a csv file to timetable?
I am not certain that 'VariableNamingRule' works as part of the options structure. Try this instead: test= readtimetable('...

presque 3 ans il y a | 0

Réponse apportée
error Conversion to double from function_handle is not possible.
The ‘p’ function was incorrect, and the ‘h’ funciton is completely missing (so I created it). Try this (with the correct ‘h...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Effect of Humidity on Electrochemical Sensor Signal and Seeking Correction Approaches
Relative humidity will of course be affected by temperature, inbcreases as the temperature decreases, and it can never exceed 10...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
How to find the sampling frequency?
The sampling frequency is the inverse of the sampling interval. The sampling frequency appears to be ‘ts’ . These correspon...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
How to have same heading for different columns in the table?
I would just name the ‘Time’ variables as ‘Time1’, ‘Time2’ and ‘Time3’ to match the ‘v’ columns. The NaN columns are likely not...

presque 3 ans il y a | 0

Réponse apportée
Error using scatteredInterpolant The input points must be specified in column-vector format.
I do not have your data so I am not certain exactly what the problem is. A relatively easy way to create column vectors is: ...

presque 3 ans il y a | 1

Réponse apportée
Why did the signal get delayed?
I am not certain what you intend by ‘delayed’. You are plotting a cosine curve, and the ‘ii1’ value is defined as being true wh...

presque 3 ans il y a | 1

Charger plus