답변 있음
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...

3개월 전 | 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.

3개월 전 | 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 ...

3개월 전 | 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...

3개월 전 | 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('...

3개월 전 | 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...

3개월 전 | 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 — ...

3개월 전 | 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...

3개월 전 | 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...

3개월 전 | 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...

3개월 전 | 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; ...

3개월 전 | 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...

3개월 전 | 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 ...

3개월 전 | 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...

3개월 전 | 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...

3개월 전 | 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 ...

3개월 전 | 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...

3개월 전 | 0

답변 있음
Spectrometer signal processing.
One approach — Data = {1729167932375 '13:25:32.375' 405650.13 1729167932475 '13:25:32.475' 400621.04 17291...

3개월 전 | 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...

3개월 전 | 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...

3개월 전 | 0

답변 있음
How to express rest of expression in terms of other variables
Try this — syms p K_B Phi_V Phi_G s K_i K_p real; Phi_G = p/s*(K_p + K_i/s) Eqn1 = p == K_B*(Phi_V - Phi_G) Eqn2 = isol...

3개월 전 | 0

| 수락됨

답변 있음
How to calculate the average of each column without taking zeros values
Try thiis — matrix = [1,3,5,0,0,0; 2,0,3,4,0,0; 3,0,0,3,0,1;4,2,2,1,8,2; 5,3,3,0,5,0; 6,7,0,0,2,0] matrix(matrix == 0) = Na...

3개월 전 | 0

답변 있음
Fitting and predicting from 3D data
I do not know what your data matrices are, however the scatteredInterpolant function could work.

3개월 전 | 0

답변 있음
How to change the color of the line in the legend of the figure?
It would help to have your code and data. The legend entries correspond to the lines being plotted, and if there are more tha...

3개월 전 | 0

| 수락됨

답변 있음
Trying to make the plot of potency along Z that is a decaying exponential but it goes straight to zero
I am not certain what you are calculating. The ‘integral_value’ value gets very large very quickly, so ‘Pas’ decays quickly ...

3개월 전 | 0

답변 있음
Ways to Apply filter for Signal
A loop may be appropriiate. Put the fiilters in a cell array, and then call each filter with its appropriate signal. Example...

3개월 전 | 0

답변 있음
how can one assign specific colors to bars in scatterbar3?
Edit the function to return the ‘h’ vector (of patch handles) and then experiment with setting the 'FaceColor' (and perhaps 'Edg...

3개월 전 | 0

| 수락됨

답변 있음
plotting a line from a parameter form
In your isolate call, no longer exists as a variable. You can create ‘g3’ eartlier in the code (when it does exist), and then ...

3개월 전 | 0

| 수락됨

답변 있음
How to get a scalar from MATLAB
Probably the easiest way to do what you want is to use the dot function — A=[1:50]; B=[1:50]; rp = dot(A,B) It doesn’t car...

3개월 전 | 0

| 수락됨

답변 있음
Confusion in matrix multiplication and dimensions
Since there are several signals in the matrix being plotted, one option would be to plot them in 3D instead. Those optioons cou...

3개월 전 | 2

| 수락됨

더 보기