Réponse apportée
Read .raw file
If the file is less than 5 MB in size, use the zip function to create a .zip file for it and then upload the .zip file here. ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to fix "Number of equations greater than number of indeterminates. Trying heuristics to reduce to square system." error.
There are a few problems you will likely want to fix. In the interim, try this — syms x(t) t m = 10; k = 160; % t = 0:...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How do I color my orbits based off of Jacobi Constant?
I would use the surf function with your matrix, with 'EdgeColor','interp' and then view(0,90). The contour (and contourf) func...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
interpolation using 2D look up table
See if transposing all of them (use the simple transpose (.')) will work. To see the difference between meshgrid and ndgrid r...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Legend with multiple columns and problem with alignement for last entry
There does not appear to be anying in Legend Properties that would directly address that problem. The only approach I can think...

plus de 2 ans il y a | 0

Réponse apportée
Save stereo audio file
Testing those functions, they both appear to be working correctly — Fs1 = 44100; L1 = 2; t1 = linspace(0, L1*Fs1, L1*Fs1+1)....

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How do I remove leap year data?
I ran your code with the provided data (here, online), however I do not see any leap year days. That aside, something like th...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
plot area between 2 curves, not working
The ‘curve’ vectors each have NaN values, and patch will not plot them. Eliminiate them (I did that here with fillmissing) and ...

plus de 2 ans il y a | 0

Réponse apportée
how can I extract values from a struct matrix that contains only one value to make single matrix from it?
Perhaps — % imshow(imread('sagust_kose_hız_degisimi_v.jpg')) LD = load('U_at_right_top.mat') U = structfun(@(x)x.u, LD.U_a...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to chnage the coefficent for transfer function?
What do you want to change it to? The displayed result is the format that the zpk function produces. If you want them otherw...

plus de 2 ans il y a | 0

Réponse apportée
How to add an input to the end of an fprintf function
Perhaps this — r = rand; lambda = rand; phi = rand; units = 'mm'; fprintf('Our rectangular coordinates converted to cyli...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Need help substituting vector variables into symbolic expression
I may be missing something in your problem statement. Is this what you want to do — syms x w1 b1 l1 = tanh(x * w1 + b1); ...

plus de 2 ans il y a | 0

Réponse apportée
Interpolating by latitude and depth
The scatteredInterpolant function would be best for this problem. Try this — T1 = readtable('mock_data.csv') FNut1 = sca...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Put letters as markers in a legend box
Using letters is not part of the linestyle or marker options. I initially tried overprinting the legend with both text and an...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
How do I use fprintf to print to a text file?
Use fopen to create a file identification number, change thefprintf statements accordingly, then use fclose to close it. fid ...

plus de 2 ans il y a | 0

Réponse apportée
Presenting in better plot
Use semilogy instead of plot. imshow(imread('untitled1.png')) Alternatively, use plot, then: set(gca,'YScale','log') Bo...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to plot an array in 3D?
Add: view(-30,30) after creating the plot. Use whatever azimuth (first eargument in degrees) and elevation (second argumen...

plus de 2 ans il y a | 0

Réponse apportée
When trying to fill timetable gaps retime puts everything NaN
That is what the 'fillwithmissing' option does. If you want a different result, choose a different method.

plus de 2 ans il y a | 0

Réponse apportée
Fminsearch does not work after increasing maxiter
Following up on my Comment, see if this solves the problem — function dydt = model(t,y, para_fit) L = max(1,L); P...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Where is the data?
Use fillmissing to interpolate the NaN elements in ‘Values’ — % Load the data filename = 'maunaloa_weekly.csv'; data = readt...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
how to xlimit for 3 different plot in 1 figure?
The plots seem not to have been posted, so I am not certain what you want to do. You would need to set xlim for each one ind...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
I have "step" data and I want value only on the steps
First, detrend the curve, second, find the peaks, last, return the values. Try this — mis = importdata("DATI.csv"); x_mis ...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Setting legend of a plot
Set the original legend to 'Location','NE' and then use: legend('boxoff') Also, see Position Multiple Axes in Figure if you...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Find approximation function z=f(x,y) for a 3-dimension set of data
The value of the surface along the ‘x’ axis appears to be increasing linearly, so one option would be to add a term specifically...

plus de 2 ans il y a | 0

Réponse apportée
How I have all three error bars in one figure
One opotion is to use the hold function (and also figure) — R1=10 R2=27 R3=10 Rtotalseries=R1+R2+R3 Vs=5 Itotal=Vs./Rtota...

plus de 2 ans il y a | 0

Réponse apportée
line not appear in plot
The ‘i_density’ vector begins with 0 and the log of 0 is -Inf. Starting it instead with a very small value, and re-writing ‘e...

plus de 2 ans il y a | 0

Réponse apportée
How to fill the plot to some specific value
Try this — t = linspace(0, 2*pi, 500); s = sin(t); figure plot(t, s, 'LineWidth',1.5) Lv1 = s >= 0.5; Lv2 = s <= -0.5; ...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
How to find fitting optimized parameters to fit a system of non-linear ODEs to experiment.
You will need to post the ‘modified_data.xlsx’ file as well to run this here. My edit of your code — Model_Exp_Fit funct...

plus de 2 ans il y a | 2

| A accepté

Réponse apportée
Identify the maximum values within fixed time intervals of a time series data set
Try this — Time=[4 5 6 7 8 9 10 25 26 27 28 29 46 47 48 49 50 58 59 60]; %Time vector, in minutes x=[ 0 5 0 1 3 11 2 0 0 1 8 ...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Offering Designated Computer Activation
Contact Support Include the URL to this thread in your message to MAthWorks.

plus de 2 ans il y a | 1

Charger plus