Risposto
I want to draw an ellipsoide with one cercle and one ellipse inside it and have the axis of the cercle and the ellipse drawn too
Here is the ellipsoid and the circle. Did you want the ellipse to be at a particular angle? % Parameters % Center xc = 0; yc...

circa 5 anni fa | 0

Risposto
Unwanted marker in logarithmic boxchart
Behnam, The Dev team is currently working on this issue. A workaround for now is to use boxplot instead. x = 1:5; y = ran...

circa 5 anni fa | 0

Risposto
read unstructured data with readtable function
You can simply use the "Import Data" button on the toolstrip in MATLAB. A user interface will show up and before importing the...

circa 5 anni fa | 0

| accettato

Risposto
How to select every 10 images corresponding to one image?
%Select image folder A A_dir = uigetdir(); %Select image folder B B_dir = uigetdir(); %Identify files of interest A_files=d...

circa 5 anni fa | 1

| accettato

Risposto
Plot 3D contours and surfaces with axes having the correct values?
Are you trying to create a surf plot as shown below? where x and y are vectors of the coordinates. %Generate Surf Plot [xg, ...

circa 5 anni fa | 0

| accettato

Risposto
how to retrieve a table from a cell array?
The answer is actually written on your tabs. To view the whole table in the last screenshot, type the following: results{1,2}{...

circa 5 anni fa | 0

| accettato

Risposto
I have a multiple matrice with x,y values with z as dependent variable. How can I average the matrice to make a surface plot?
Anonyms , I would try the following below. Let me know if this is what you wanted. %Select Excel File to Load [filename fol...

circa 5 anni fa | 0

Risolto


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

circa 5 anni fa

Risposto
How to plot an overlay curve on the figure attached here.
Use hold on then plot the graph. plot(x,y)

circa 5 anni fa | 0

| accettato

Risposto
How can I extract the logical value in a loop (various columns)?
is this what you are looking for? idx=logical(idx); for i = 5:10 [X,Y]= meshgrid(T2.(i),T.(i)); C = X(idx); D = Y(i...

circa 5 anni fa | 0

| accettato

Risposto
For Loop - need to iterate values at the same time.
for x = [1:10] fstart = 'D:\Michael Files\Data\Run '; f2 = sprintf('%05d', x); f3 = '\Ascii\Xxsv00001 '; y = 266+x; fend = ...

circa 5 anni fa | 1

| accettato

Risposto
Creating a loop to find next point in array
Edit: I just realized I misread what you wanted. I thought you needed to remove the distance, not current_point. Assuming index...

circa 5 anni fa | 0

| accettato

Risolto


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...

circa 5 anni fa

Risposto
Report Generator, independently formatting Formal Table columns and changing a header
X = zeros(5,1);import mlreportgen.report.* import mlreportgen.dom.* X = zeros(5,1); Y = ones(5,1); Z = ["A";"B";"C";"D...

circa 5 anni fa | 0

| accettato

Risposto
How do I fill the centers and calculate the distance between two centerpoints in matalb?
figure; x = rand(1,1); y = rand(1,1); r = rand(1,1); th = 0:pi/100:2*pi; a = r*cos(th)+x; b = r*sin(th)+y; plot(a,b); ...

circa 5 anni fa | 1

| accettato

Risposto
how to get the row and column number of a specific value in an array
D=[ 42 24 20 17 20 24 19 18 18 15 39 21 19 17 20 18 18 19 15 1...

circa 5 anni fa | 0

Risposto
How to display the output as table shown below?
z(:,:,1) =[ 0.4794 0.8776 0 0.0000 1.0000 0 -0.4794 0.8776 0]; z(:,:,2) =[ 0.4794 0.8...

circa 5 anni fa | 0

Risolto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

circa 5 anni fa

Risposto
I wrote a random program in MATLAB How do I get multiple runs of this program on one chart?
You can use the command. hold on to overlay additional plots. For example: clc clear all gama=0.5; beta=1;N=100; i0=5;%...

circa 5 anni fa | 0

| accettato

Risposto
How do I define colors for individual bars on my bar graph after "hold on"?
Suhyun, It appears you are generating a new bar graph when creating a legend. Change legend(bar(x11,y11,0.7),l); to thi...

circa 5 anni fa | 0

| accettato