Star Strider
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. Time Zone: UTC-7 (Standard); UTC-6 (Daylight Savings/Summer)
Feeds
Help fixing different sized plots with tiled layout
This may be a problem with the tiledlayout function. Looking at the Position vectors of each of the axes, they all should hav...
14 hours 前 | 0
Combine multiple varying length double arrays into one timetable
First, convert the datenum values to datetime arrays using the ConvertFrom='datenum' name-value pair, either reading each of the...
23 hours 前 | 0
Solving non linear system with fsolve
It seems that fsolve stopped when it converged. R = 1.0e-20 * [ 0.1251 -0.0001 -0.0000 -0.1019 -0.0008 -0.00...
2 days 前 | 0
Finding point of zeta line & rootlocus
I am not certain what you are starting with, so I cannot provide an exact response. However one approach may simply be to use i...
3 days 前 | 0
How to randomly select the datapoints in a vector based on percentage for each group?
I’m not certain iif you want to apportion them as they exist in the original vector, or if you want to apportion them by ascendi...
6 days 前 | 0
How to simplify output from solve
I can’t be certain that this is a significant improvement, however it is the best I can do with your data — % Define symbolic ...
8 days 前 | 0
How can i make optimization by using genetic algorithm to minimize error between desired and simulated force?
Your fitness function should be something like this: fitness = @(b) norm(dependent_variable - model_function(b,independent_var...
8 days 前 | 0
Parfor random numbers are not quite random
Sequences generated by computers are called ‘pseudorandom’ because they are just that. They are generated cyclically. See Mo...
8 days 前 | 0
How to save contourf data and not plot it for running efficiency?
Use gcf to return the figure handle, then set the visibility to 'off'. Example — [X,Y,Z] = peaks(50); figure [c,hc] = c...
8 days 前 | 0
| 已接受
The method of how to calculate the FWHM.
A different approach — x = linspace(0, 10); y = exp(-(x-5).^2*0.25); ymin = min(y) [ymax,idx] = max(y - ymin) halfmax ...
10 days 前 | 0
How can I disable the 'select a website' pop-up every time I open the MATLAB help documentation?
I believe this has recently been resolved. See this Answer.
11 days 前 | 0
generate a 3d scatter plot with z-support lines / pin plot / needle plot ...
See if the stem3 function will do what you want. You will probably still have to use a loop of you want the individual stems ...
11 days 前 | 1
| 已接受
How can I shade an interval in a calculus function with the area() function?
I prefer the patch function, simply because I have more experience with it. Try this — x = linspace(0, 1); y = 1 + 0.5*sin...
12 days 前 | 0
| 已接受
Hi, everyone!
The clim approach could of course work. Another option that might work is to use the logarithms of the ‘z’ values. (The valu...
14 days 前 | 0
Problems with creating a data table
You probably do not have to do any of those data manipulations. Just read the file eand plot the results — T1 = readtable('...
15 days 前 | 0
morse code translator not outputting sound
When I ran your code with an appropriate argument, I got: Unrecognized function or variable 'morsecode2'. Beyond that, I juat...
16 days 前 | 0
How to plot an array of 4 columns?
I wrote this to solve a similar problem. The original problem was to create a surf plot to match a scatter plot. Try this — ...
16 days 前 | 0
| 已接受
I keep on getting the error conversion to double from table is not possibl
I am not certain that I understand what you are doing. It would probably help to upload the matrix (text or Excel file) to he...
16 days 前 | 0
How to use Wilcoxon signed-rank test and correct for multiple comparisons?
The signed-rank test is for paired studies (for example the same group before and after an intervention) and ranksum for unpaire...
16 days 前 | 1
| 已接受
cannot find function even it is in path
I am not certain what your problem is. In my startup.m file, I have these assignments at the beginning: pathmat = path; My...
16 days 前 | 0
How to color a contour of two curves?
I am not certain what you want. Try this — % Diagramme de coexistence avec des contours colorés % clc; clear; close all; ...
17 days 前 | 0
| 已接受
How to correct for multiple comparisons when using fitlm function?
None of the linear regression coefficients are even remotely significant (other than the Intercept). A linear regression is l...
17 days 前 | 1
| 已接受
extract fig into surf(x,y,z)
One way is tto enlarge the y-values to a matrix using repmat and then offset them by adding a different constant to each column ...
17 days 前 | 0
How to use "predict" to get x value for a given y value?
I generally use the interp1 function to return x-values given y-values. That generally goes something like this — x = lins...
18 days 前 | 0
I need help converting this 3d plot to a surface
Plotting it as a surface will probably require creating matrices from the vectors. Just looking at the images, that will probab...
18 days 前 | 0
How to read each column of a .BIN file as a different variable
I suggest using ‘ArduPilot Log Viewer’ once to see what the format of the file should look like (and check to be certain that ...
18 days 前 | 0
| 已接受
isolate function is not providing multiple solutions to a polynomial problem?
Apparently isolate does not, however solve does — syms x a b c eqn = a*x^2 + b*x + c == 0; xSol = solve(eqn, x) pretty(xS...
19 days 前 | 0
Spectrometer signal processing.
One approach — Data = {1729167932375 '13:25:32.375' 405650.13 1729167932475 '13:25:32.475' 400621.04 17291...
19 days 前 | 1
| 已接受
Why do each curve appears to be two when I zoom in on them?
Your code must be plotting them that way (original and one with a slight offset). We cannot determine what you are plotting wit...
22 days 前 | 0
How to extract the term associated with a symbolic variable and assign to another symbolic variable?
Useee theee function to find an expreessiion for — syms R_v L_v L_ph U_s U_i w s U_sr U_si real syms Z_v Z Y S sympref('Ab...
22 days 前 | 0