답변 있음
How can i use wiener filter to remove this sinusoidal noise?
You have to think about what type of noise you have - that is is it additive random intensity with no correlation on pixel-to-pi...

대략 7년 전 | 1

| 수락됨

답변 있음
How to plot 3D matrix in form of cube
Use the slice function. HTH

대략 7년 전 | 0

| 수락됨

답변 있음
How can I differentiate a symbolic function?
After doing this syms t syms l1(t) syms l2(t) f = ... % your rather lengthy expression I had no problem getting an output f...

대략 7년 전 | 0

답변 있음
How to solve a system of coupled nonlinear differential equations using ODE45
That shouldn't happen if you code the F-function right and give ode45 the correct initial conditions. For a single particle-pend...

대략 7년 전 | 0

답변 있음
Unwrap picture of a cylinder (Distortion correction)
What distortions are you thinking about? The fact that you have refraction of light at the surfaces of your cylinder? Are you ai...

대략 7년 전 | 0

답변 있음
The entries in tspan must strictly increase or decrease.
What ODE are you trying to integrate over such a short period of time? What is your time-unit? tFinal-tInitial is on the order o...

대략 7년 전 | 1

| 수락됨

답변 있음
Solve 100 equations, each with a different amount of unknowns in matlab
What you have (shown) is a linear system of equations, with 100 equations and only 9 unknowns. This is exactly what matlab is de...

대략 7년 전 | 0

| 수락됨

답변 있음
Putting a code open source
Put an open-source copyright/copyleft license on your code, look for example for GPL version 3, or other open-source license (wi...

대략 7년 전 | 1

| 수락됨

답변 있음
Why doesn't legend distinguish colors?
When I intend to use legend I always take care of having the handles to the plotted objects available for the legend call: ph1 ...

대략 7년 전 | 0

답변 있음
Singular matrix and MATLAB inversion
Are you absolutely sure you haven't turned off the warnings, in your startup.m or elsewhere?

대략 7년 전 | 0

답변 있음
The last entry in tspan must be different from the first entry. ODE45
tInitial and tFinal differ in the ~22nd decimal. That is not much for a double-precision representation. Why not run the simulat...

대략 7년 전 | 0

| 수락됨

답변 있음
Can we use for loop in bisection method for root finding instead of while loop
Yes it is possible, but why? You could use the break trick to exit the for-loop at convergence, but why bother, code should be c...

대략 7년 전 | 0

답변 있음
Illegal use of reserved keyword
The curly brackets are used to enclose cell-arrays (lists) in matlab, not start and end loops and if-clauses, matlab uses nothin...

대략 7년 전 | 0

| 수락됨

답변 있음
integration over a circle VS rectangle
Dont forget the basics: dxdy = rdrdtheta HTH

대략 7년 전 | 0

| 수락됨

답변 있음
Copy the values of multiple fields in a structure to another structure at once
Maybe there could be faster solutions - but regardless somewhere looping over the fields will have to occur, and unless this is ...

대략 7년 전 | 1

답변 있음
Plot a Matrix with elements of only 1 and zeros
Something like this ought to do it: scatter(column,row,23,value,'filled') colormap([1 0 0;0 1 0]) caxis([0 1]) HTH

대략 7년 전 | 0

답변 있음
Generating a filled contour colormap
Instead of using surf you can use pcolor, then you get the "from-above-view" automatically. You shold have a function for doing ...

대략 7년 전 | 0

답변 있음
How to solve nonlinear 2nd order differential equation?
Convert it to 2 coupled first-order. To do that first solve for d2x/dt2. Then it is straightforward: function dxdtd2xdt2 = your...

대략 7년 전 | 1

답변 있음
How to solve a coupled nonlinear second order equations with a loop?
In your ode_coupled_chain you will overwrite dz(i+3) and the other higher dz components since you increment i with 2 in the for-...

대략 7년 전 | 0

| 수락됨

답변 있음
can someone help me get the MATLAB code
You have the code. They are the lines after the '.' after the list-numbers. If this is your question, then your first point alo...

대략 7년 전 | 1

답변 있음
writing normally distributed error code
Have a look at: randn, and normrnd. HTH

대략 7년 전 | 1

| 수락됨

답변 있음
I am very new to matlab. Please state Why I am getting Subscripted assignment dimension mismatch error
In my version of matlab I have to assign strings using the string function ylabel_graph(1) = string('dispalcement'); ylabel_gr...

대략 7년 전 | 1

| 수락됨

답변 있음
solving coupled differential equations
For symbolic solutions look at the help for dsolve, for numerical soutions convert the 2nd order ode to 2 coupled first-order od...

대략 7년 전 | 1

| 수락됨

답변 있음
Breaking up large coupled ODE system into smaller parts that can be used in ode solver by calling "sub" ode functions?
Sure, why not. Maybe something like this will work for your "atomic" ode-functions: function dydt = dfunc_atom(t,y,yothers,para...

대략 7년 전 | 0

답변 있음
How to Generate random sampling from a probability distribution function generated by kernel density estimation?
Either you do something like this (Untested-unverified-off-the-cuff^TM): % Assuming pdfKD values at x: cdfKD = cumtrapz(x,pdfK...

대략 7년 전 | 0

답변 있음
Circular indexing of a 2D array
Something like this solves this problem: for i=1:3 for j=1:4 if i==1 && j==1 T(i,j)=Tp(i,1 + mod(4*1...

대략 7년 전 | 0

| 수락됨

답변 있음
how to convert int32 to real number
X_real = double(X_int32); HTH

대략 7년 전 | 0

| 수락됨

답변 있음
Image color and brightness correction
Try this functionality: rgb-histogram-matching HTH

대략 7년 전 | 0

답변 있음
Is Walter Roberson a real person, or is he some kind of Matlab AI robot?
Well, I've seen signs that would be surprising in an AI robot - so my guess is actual human.

대략 7년 전 | 1

더 보기