photo

Meg Noah


Last seen: 2 jours il y a Actif depuis 2016

Followers: 2   Following: 0

Statistiques

All
  • Revival Level 2
  • Thankful Level 1
  • Likeable
  • Famous
  • 5-Star Galaxy Level 4
  • Explorer
  • Cody 10th Anniversary 10-Day Streak
  • Curator
  • Quiz Master
  • Puzzler
  • Promoter
  • Creator

Afficher les badges

Feeds

Afficher par

Réponse apportée
Im designing a game of battleship, but. im trying to use a code to prevent the user from placing a ship out of bounds
Here is a solution with user interaction/prompting: flagInteractive = 1; % prompt user for ship placement flagRepeatable = 0; ...

environ 3 ans il y a | 0

Réponse apportée
how to split image to 3 parts
Here are two ways: close all clear clc [imdata,~] = imread('image.jpeg'); % split into three color channels of equal ...

environ 3 ans il y a | 0

Réponse apportée
How to plot Taylor diagram for four time series.
Here's how: Download this: https://www.mathworks.com/matlabcentral/fileexchange/20559-taylor-diagram And the attached allsta...

environ 3 ans il y a | 1

Réponse apportée
Index exceeds the number of array elements. Index must not exceed 1.
Hi, I was trying to figure out what your data are to help, but I couldn't find it online. I did find a spectrum at simbad. Is...

environ 3 ans il y a | 0

Réponse apportée
How can I plot on the same four figures on my code which changes while list numbers changing?
There's something amiss with the xlsx reading, but that wasn't the question. This will update the plots, with a slight delay be...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Unwrapping the mesh on 2D plane
Here's one way - it's actually a bit overcomplicated than it needs to be in the code below to make it more general: R = 1; Num...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Error in copying figure - Variables - Error using Builtin Path - Could not be absulutized
type >> which pathdef It could be that the pathdef.m file is missing. If it is missing, type >> restoredefaultpath >> matl...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Calculating closing speed between pair of aircraft
Is this what you're looking for? % Given values of positions and velocities of airplanes t0_s = [12.0*3600.0 + 0.0*60.0 + 2.0;...

environ 3 ans il y a | 0

Réponse apportée
Euclidian distance showing different result for different formula
Some code - look at the sizes of the arrays to see why: nsamples = 25; ncomponents = 4; s = RandStream('dsfmt19937','Seed',11...

environ 3 ans il y a | 0

Réponse apportée
Need help on this program
Try something like this: function valid = valid_date(year,month,day) if ((isscalar(year) && year>0 ) && (isscalar(month) && mo...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
When I try simple statistics function normpdf, it does not work.
You can write your own normpdf if that is all you need. Here it is as an anonymous function (see: https://www.originlab.com/doc...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Check for missing argument or incorrect argument data type in call to function 'integral'.
One way is to use anonymous functions f = @(x) sqrt(2)*x.^3; g = @(theta) 4+2*(sin(theta).^2); a = integral(f, 0, 9); b ...

environ 3 ans il y a | 1

Réponse apportée
Plot overlapped points (Matlab 2020a)
Just some ideas: npts = 200; true_value = randn(npts,1); Estimates1 = true_value + 0.01*randn(npts,1); Estimates2 = true_val...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
read and use .txt file
There's a lot of extra characters in your text file. % frequency, amplitude and phase str = fileread('draft.txt'); str = st...

environ 3 ans il y a | 0

Réponse apportée
Getting "Error using horzcat." when trying to draw displacement graph for a Mechanism
This executes without error, but I'm unclear about whether it solves your problem. A0A = 12.6; AB = 14; AD = 37.1; EB = 45.5; ...

environ 3 ans il y a | 0

Réponse apportée
Reconstructing Audio from Spectrogram
istfit then wavwrite?

presque 4 ans il y a | 0

Réponse apportée
How do I import a txt file with the white spaces
This seems to work if you don't mind working with a table readtable('file22.txt','whitespace','','delimiter',',')

presque 4 ans il y a | 0

Réponse apportée
Errorbar plotting in MATLAB
vec1 = rand(20,1); vec2 = 20*rand(20,1)-15*rand(20,1); vec3 = 3*rand(20,1); med = [median(vec1) median(vec2) median(vec3)]; ...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
How to display a percent sign (%) using latex and sprintf
% not using latex loveMetric = 99.99; fprintf(2,'I love matlab: %0.8f %%\n', loveMetric);

presque 4 ans il y a | 0

Réponse apportée
Getting point cloud directly from a 3D CAD STL Model in Matlab
There is a program on matlab central that returns the coordinates x,y,z that are the point cloud https://www.mathworks.com/matl...

presque 4 ans il y a | 0

Réponse apportée
4D plot of 3 vectors and 3D array
In this project, I show a couple of 3D vis techniques https://www.mathworks.com/matlabcentral/fileexchange/71774-create-measure...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
Best tool for complex classification?
metricvalues = zeros(npts,nvar); % find magnitude and phase of the complex values as metrics % fillup the metricvalues array ...

presque 4 ans il y a | 0

Réponse apportée
RKF method for second order ODE
https://ntrs.nasa.gov/citations/19690021375 Low-order classical Runge-Kutta formulas with stepsize control and their applicatio...

plus de 4 ans il y a | 0

Réponse apportée
RKF method for second order ODE
https://ntrs.nasa.gov/citations/19680027281 Classical Fifth-, Sixth-, Seventh-, and Eighth-Order Runge-Kutta Formulas with Step...

plus de 4 ans il y a | 0

Réponse apportée
Plotting stacked graphs with diff x-axis together without any gap
I have an example here: https://www.mathworks.com/matlabcentral/fileexchange/70172-space-weather-data-solar-flux-10-7-cm

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to convert euler angle(roll pitch yaw) to position(x,y,z)
Position is a separate measurement from roll, pitch, yaw. Position is the location of the entity, such as an aircraft. Typical...

environ 5 ans il y a | 2

Réponse apportée
How to write a function for a certain number of random numbers
If the numbers are supposed to be uniformly distributed, then they are between 0 and 1. So just linearly scale the value 0 to th...

environ 5 ans il y a | 0

Réponse apportée
Hurst exponent in matlab
Here's one way, but you'll have to change it to have pixels as length dimensions: %% *fractalDimension* %% *definition* funct...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
Initializing multidimensional array and dynamic expansion
If you know the size you want: A = zeros(nrow,ncol); or A = zeros(nrow, ncol1, ncol2,ncol3); etc. Can also initialize to a...

environ 5 ans il y a | 1

Réponse apportée
how to find index of each occurrence of my pattern in a file
This solution will find the lines that contain the whole phrase. The example illustrates how to consider or not consider the cas...

environ 5 ans il y a | 0

Charger plus