photo
Programming Languages:
C, MATLAB, Shell, Perl, Fortran
Spoken Languages:
English

Statistiques

All
  • Most Accepted 2023
  • Most Accepted 2022
  • Solver
  • First Review
  • Most Accepted 2021
  • Roberson Cup
  • Most Accepted 2019
  • Most Accepted 2018
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015

Afficher les badges

Feeds

Afficher par

Réponse apportée
Solve 𝑔 ′ ( 𝑥 ) = 0 for z in terms of N, a positive integer
Let's try... Q = @(v) sym(v); syms f(x) g(x) G(z) syms z positive syms N integer assumeAlso(N, 'positive'); g(x) = 4*N*s...

environ 17 heures il y a | 0

Réponse apportée
I want to draw pathline for two particle for a 2d problem
When you use griddedInterpolant, then your x must have all of its columns the same, and the row values must be sorted. Your y mu...

environ 19 heures il y a | 1

Réponse apportée
plot csv with column names used automatically as x and y label
data = readtable("results.csv","TextType","string"); plot(data, data.Properties.VariableNames(1), data.Properties.VariableNames...

environ 20 heures il y a | 0

| A accepté

Réponse apportée
How could I make a script for this ecuation where i can solve for f?
syms f epsilon D Re Q = @(v) sym(v); eqn = 1/sqrt(f) == -Q(2.0) * log(epsilon/D/Q(3.7) + Q(2.51)/(Re*sqrt(f))) F = solve(eqn,...

environ 21 heures il y a | 0

Réponse apportée
find intervals for both B and C which make the exponential function F converge to some points.
There is no point in calculating most of the F values since we are only interested in convergence. So we only test the last few ...

environ 22 heures il y a | 0

Réponse apportée
Attempting to interpolate with interp2 and getting errors about the sample point vector?
[x, y] = meshgrid(0:0.01:1, 0:0.01:1); x = [0 1 1 0]; y = [0 0 1 1]; You are overwriting the grids of data produced by meshgr...

2 jours il y a | 1

Réponse apportée
GPU programming for Mac M1
If I recall correctly, someone posted indicating that they had generated mex C++ code that calls into Apple's GPU routines, and ...

2 jours il y a | 0

Réponse apportée
Deciding when to call a Matlab function: Within my symbolic math code, or within my converted numerical code?
Typically you compute in two phases: Symbolic-only phase. Everything that is changeable is generalized as a symbolic variable. ...

3 jours il y a | 0

| A accepté

Réponse apportée
translation of Simulink generated integers into a 1-D vector
If you have a fixed number of values to process at a time, use the DSP Toolbox buffer blocks, https://www.mathworks.com/help/dsp...

3 jours il y a | 0

| A accepté

Réponse apportée
How to make vectors A1, A2,... A127. Rolling time window.
If you have the Signal Processing Toolbox, you might as well use buffer() https://www.mathworks.com/help/signal/ref/buffer.html...

3 jours il y a | 0

Réponse apportée
How to find the point the graph crosses the x axis
if x(1) == 0 crossing_location = 1; elseif x(1) < 0 %crossing from negative to positive crossing_location = find...

3 jours il y a | 0

Réponse apportée
Trying to create a power factor correction system but no data shows
You have Physical Signals. You need to convert them before Scope. https://www.mathworks.com/help/simscape/ref/pssimulinkconverte...

3 jours il y a | 0

Réponse apportée
Cant show plot on a graph matlab GUI
selectedFunction = app.DropDown.Value; That is going to reply with a character vector even if the Items was initial...

3 jours il y a | 0

Réponse apportée
Is there a way to find the lengths of the contours in fcontour or other?
You can request the ContourMatrix property of the FunctionContour object returned by fcontour . The ContourMatrix contains infor...

3 jours il y a | 0

Réponse apportée
Error in state of SceneNode
txt = sprintf('$T=%.1f^{\\circ}$C'); This will not be an actual degree symbol, but it is close. The LaTeX interpreter does no...

4 jours il y a | 0

Réponse apportée
Need help writing a matlab function.
A deliberately clumsy implementation: function appropriate_element_to_return = hw4_problem3(w, n) array_being_indexed = w; ...

5 jours il y a | 0

Réponse apportée
Define function for transient transient boundary condition
function Trefrig = Trefrig(state.time) thermalBC(thermalmodel,"Edge",7,... "ConvectionCoefficient",hrefrig,... "Ambie...

5 jours il y a | 0

Réponse apportée
Power spectra of bottom pressure at D5, Digital filtering
subplot(3,2,5); % Power Spectral Density (PSD) 및 신뢰구간 계산 [Pxx, F, Pxxc] = pwelch(bottom_pressure, WINDOW, NOVERLAP, NFFT, Fs, ...

6 jours il y a | 0

| A accepté

Réponse apportée
How do I add arrows in evolution analysis figure?
You can use annotation 'arrow'. Unfortunately by itself annotation() uses Normalized coordinates -- normalized relative to the f...

6 jours il y a | 0

Réponse apportée
Every time I run this code, I get "Error using plot Vectors must be the same length.
The equation for guassian pulse does not involve complex numbers. https://doc.comsol.com/6.1/doc/com.comsol.help.comsol/comsol_...

7 jours il y a | 1

| A accepté

Réponse apportée
Coordinates of objectes in the images
You velocity logic is incorrect. You build up a list of centroids. There can be more than one centroid in any image, and you co...

7 jours il y a | 0

Réponse apportée
Why Is Colon Operator Not Equivalent To linspace Command?
The colon operator is defined to use repeated addition. When the increment does not happen to be an integer multiple of a power ...

7 jours il y a | 0

Réponse apportée
How to customize the markers of the scatter figure, as shown below
Unfortunately, markers are only customizable between a limited number of pre-set shapes. You will need to patch(), as I recentl...

7 jours il y a | 1

Réponse apportée
How to plot 3D radiation pattern together from 2 separated .OGL files data in Matlab
patternCustom() does not accept x y z vectors. patternCustom accepts magE array or vector, and theta and phi vectors. (In the c...

7 jours il y a | 0

Réponse apportée
Non-linear Scale for Radius Axis in a Polarhistogram Plot
polaraxes does not have any way to adjust the scale factor. It does not for example have an RScale property that might (hypothet...

8 jours il y a | 0

| A accepté

Réponse apportée
Does R2022b support MISRA C:2012 Amendment 3 (AMD3)?
MISRA C:2012 Amendment 3 support was added in R2024a.

8 jours il y a | 0

Réponse apportée
How to find the position of a number in an array?
You can use the “find” function to return the positions corresponding to an array element value. For example: a = [7 8 8 2 5 6];...

8 jours il y a | 22

| A accepté

Réponse apportée
how do I set the property "RemoteConnectivity" == 1
feature("RemoteConnectivity", 1)

8 jours il y a | 0

| A accepté

Réponse apportée
Change Line width and Line color in findchangepts function.
After you findchangepts(ACc(:,2),'Statistic','mean','MaxNumChanges',2); then do ax = gca; %if you want to affect the line...

8 jours il y a | 2

Réponse apportée
Plotting with 3 variables
x = linspace(-10,10); z = linspace(-10,10); y = -(2.*sin(z)+x.*cos(z)); plot3(x, y, z) xlabel('x'); ylabel('y'); zlabel('z')...

9 jours il y a | 0

Charger plus