Community Profile

photo

Star Strider


11,614 2012 年以降の合計貢献数

Hic sunt dracones!

PROFESSIONAL: Physician (M.D.): Diplomate of the American Board of Internal Medicine; M.Sc. Biomedical Engineering: Instrumentation, Signal Processing, Control, System Identification, Parameter Estimation

NON-PROFESSIONAL: Amateur Extra Class Amateur Radio Operator; Private Pilot, Airplane Single Engine Land, Instrument Rating Airplane; Gamer

NOTE: I do not respond to emails or personal messages, unless they are about my File Exchange contributions.

連絡する

Star Strider's バッジ

  • Grand Master
  • 36 Month Streak
  • Thankful Level 3
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Solver

詳細を表示...

貢献した分野
表示方法

回答済み
Fsurf plot wrong when x coefficient is 0
The fsurf function cannot guess what you are thinking. Try this version of your code: syms x y z u v f1(v) = 214.906098118...

約2時間 前 | 0

回答済み
Frequency scale in fft after zero filling (odd/even number of data)
I am not certain what you are doing. One way to make the frequencies equal would be to use the second argument, ‘n’, in the ff...

約3時間 前 | 1

| 採用済み

回答済み
How do I extrapolate a point from a generated graph.
The easiest way is to use the interp1 (link) function to get the time when the car has travelled 250m.

約4時間 前 | 0

| 採用済み

回答済み
How to use a subplot in a for loop
I am not certain what you want. Try this: syms y x y = acos(x); n = [3 5 7] ttlc = {'y', 'T3(x)', 'T5(x)', 'T7(x)'}; ho...

約4時間 前 | 0

回答済み
How do I get some part of my boxplot labels italic? I can not change the Interpreter to 'tex' somehow? Why? How can I work around?
Use the 'TickLabelInterpreter' property: dados = rand(100,2); boxplot(dados,'labels',{'\bf\it{IDEB}__{2007}','\bf Efficiencie...

約6時間 前 | 0

回答済み
MATLAB system of ODEs
Please see: System of 2 differential equations (link).

約21時間 前 | 1

| 採用済み

回答済み
i am trying to put my level curves and gradient vectors on same figure but i can't
Your current approach is not going to work. Try this instead: f=@(x,y) 16*y.^2 + 9*x.^2; g = @(z) gradient(z) figure(1) ...

約23時間 前 | 1

| 採用済み

回答済み
How to change color for stacked bar chart
Try this: y = [50 50; 25 75; 30 70]; figure ba = bar(y,'stacked', 'FaceColor','flat'); ba(1).CData = [0.3 0.3 0.7]; ba(2...

1日 前 | 0

| 採用済み

回答済み
Does audioread not return a vector?
It depends on your audio file. A stereophonic signal will return an (N x 2) matrix, with the first column being the left channe...

2日 前 | 0

| 採用済み

回答済み
amplitude plot not working
Your ‘A’ vector has purely imaginary components. Try this: plot(omega, imag(A))

2日 前 | 0

回答済み
How would I add labels to points?
Use the text (link) function. You will likely also need the sprintf function.

2日 前 | 0

回答済み
RMSE of sequences in cell arrays with different length
I am not certain what final result you want. This should get you started: subt = cellfun(@minus, YTest, YPred, 'Uni',0); ...

2日 前 | 0

回答済み
How can I generate reciprocal of a matrix
It depends on what you mean by ‘reciprocal’. If you want ‘X’ such that: A*X = eye(size(A,1)) then: X1 = inv(A); ...

2日 前 | 0

| 採用済み

回答済み
How can print out the below content by MATLAB program?
You do not need the second for loop. Simply print the value of ‘j’ in each iteration of the ‘i’ loop: for i = 1:1:5 j =i...

2日 前 | 1

| 採用済み

回答済み
ERROR message when running code
Your code plots all three variables. Note that they only differ by phase, so the easiest way to detect the difference is where ...

2日 前 | 1

| 採用済み

回答済み
LaTex with 2 strings separated by a num2str
Try this: errordisplay=[' $\varepsilon_{RTP}=$ ',num2str(rtep),'\%']; It seems you need to ‘escape’ the ‘%’.

3日 前 | 1

| 採用済み

回答済み
Matrix Row Addition Question
There are several ways to do what you want. Here’s one: k = zeros(3,6); k(end, 3:6) = 8 : -2 : 2;

3日 前 | 1

| 採用済み

回答済み
How do I write this equation in Matlab?
You need to add ‘x’ to your syms call: syms x then with this solve call: theta_max = solve(V/V_w ,x) you get: theta_m...

3日 前 | 0

回答済み
Text Box location Issue
I would define the axis limits just after the plot call with an axis call. The axis limits will not then change in each iterati...

3日 前 | 1

回答済み
How can I simplify complex symbolic equations? Simplify not working
Tell the simplify function to keep working on ‘eqn’ as long as necessary: eqns = simplify(eqn, 'Steps',150) producing: eqn...

3日 前 | 0

| 採用済み

回答済み
3D array to cell array
Use the mat2cell (link) function: A = rand(550, 129, 3); % Create Matrix C = mat2cel...

3日 前 | 0

| 採用済み

回答済み
Plotting The bodee plots extracted from LTSPICE simulator
MATLAB can read it, however it needs a bit of help in order to understand how to read it. Try this: fidi = fopen('Data.txt'...

3日 前 | 0

| 採用済み

回答済み
make one struct with two datasets
Try this: data.features = rand(84, 1190); data.labels = rand(84,1); See the documentation on Create Structure Array (link) f...

4日 前 | 0

| 採用済み

回答済み
I am trying for filters for my experimental data
My guess is that you used a highpass filter, since it seems that you eliminated the low frequencies and kept the noise. You pro...

4日 前 | 0

回答済み
how to fit a surface to 3d data points
If your data points are each vectors, try this: x = rand(1, 10); % Create Data y =...

4日 前 | 0

| 採用済み

回答済み
Fitting Cosine function to many different data sets.
Thi idea I deleted is to use the Angle sum and difference identities (link) to linearise your regression, since linear regressio...

5日 前 | 0

| 採用済み

回答済み
Error changing data in table from char to double
The ‘GROSS_QTY’ problem is relatively easy to solve: [~,S] = xlsread('DateAndQuantity.csv'); G_Q = sscanf([S{2:end,2}],'%d;')...

5日 前 | 0

| 採用済み

回答済み
i need to get the maximum amplitude in this code but my final answer is wrong
‘i am fairly certain my code is wrong’ So am I. Try this: D = load('Data.mat'); f = D.f; t = D.t; dt=t(2)-t(1);% t ve...

5日 前 | 1

| 採用済み

回答済み
export frequency data from a histogram
Use a handle to return the information from the histogram function, then get the values you want: figure hh = histogram(x); ...

5日 前 | 0

| 採用済み

回答済み
Matlab 2018b adds-on problem
Try this: Download R2018b (includes R2018b Update 4)

5日 前 | 0

Load more