Réponse apportée
Plot differing matrices vs time
Try for loop for i = 0:99 surface(A(1:3+i*3,:)+i) end

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Time of Flight measurement
Try this trick p = [0.0772 0.7149 0.1256 0.7588 0.1878 0.8231 0.2431 0.7646 0.2869 0.3114 ...

environ 6 ans il y a | 1

Réponse apportée
How to show a .tif file with projected coordinate system in geographic system?
As i understood you correctly: you want to have grid line/dots on your image Here is an example A = zeros(100); ...

environ 6 ans il y a | 0

Réponse apportée
Plotting streamlines in 3D from a non-rectangular grid
I don't know what is wrong with streamline.however it's not my first time when it's not working (quiver3 works ok by the way) B...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
How do I convert the binary valued column to decimal?
Try this A = readtable('just_adder_1p2_ABS_matlab.csv'); A1 = table2array(A(:,2)); A2 = bin2dec(num2str(A1));

environ 6 ans il y a | 0

| A accepté

Réponse apportée
How to assign desired names for created files by Matlab?
Simple example for i = 1:5 s = sprintf('data%d',i); A = rand(3); writematrix(A,s) end

environ 6 ans il y a | 0

| A accepté

Réponse apportée
3 dimensional plotting by varying the initial conditions
Try quiver3 and streamline clc,clear cla r = 0.60516; K = 8.97523; A0 = 0.4; gammaA = 0.04; eps = 0.0037...

environ 6 ans il y a | 0

Réponse apportée
Correcting the label in a 3D scatter plot
I used currentPoint property of callback to get coordinates of mouseclick currentPoint returns 2 points in 3D space. I used cro...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
How to side by side a subplot 12 images
You can concantenate all you imagesc into one for i=1:length(info.Image) F1=fitsread('N20190713S0564.fits','image',i); ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Heat Conduction in 1D with Finite Differences
I have some suggestions to your code. Look

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Help please, I want to find out the Centroid, Area, and the Moment of Inertia of any closed curve, from an axis line drawn under that shape. Then How to make a GUI program that displays one two-dimensional area shape along with its centroid marked on
binarize image (0 and 1) label image with bwlabel (to find inside part of large blob) use regionprops with centroid and area o...

environ 6 ans il y a | 0

Réponse apportée
I am having problem with segmentation. I have to create an image without beads in fibers from a fiber with beads. Can, anyone please help me? Or provide me a code to do the segmentation. I am new on image segmentation?
Here is the best way to solve your problem I = imread('image.png'); % read image I1 = im2bw(I,graythresh(I)+0.1); ...

environ 6 ans il y a | 0

Réponse apportée
How to take mean of rows of particular value?
Sort your data and use for loop schematic code (not tested) s = 0; % sum of group data k = 1; ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
How to do this loop
Simple example p = [0.0979 0.1915 0.2707 0.1944 0.4505 0.2968 0.5541 0.4605 0.5956 0.6184 ...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
please help me visualize the analytical solution of my model
Thank you for clear code. Everything looks correct (i didn't tested. it only looks) You have x y and t independent variables, i...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
Input result derivative into ode45
Here is an idea Where M X F as following (sorry couldn't finish matrix, it's too long) Then just put all those matrices ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
hasFrame and readFrame are not working in synchrony.
Just get numer of frames xyloObj = VideoReader('xylophone.mp4'); n = xyloObj.NumberOfFrames; for i = 1:n fr = read(xyloO...

environ 6 ans il y a | 0

Réponse apportée
How to numerically solve first order differential equation with dependent variables?
You didn't declared variables inside each function Do this like this function Vel=fvel(t) V0 = 5; ts = 0.3; Vel = V0*(1-t...

environ 6 ans il y a | 0

Réponse apportée
3D Phase portrait for a set of differential equations
I tried to plot T A and I separately. X Y Z axis represents T A and I respectively. Color represents derivative of T A or I I u...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
How to detect a specific area on image
binarize image remove small object like numers (bwareaopen) use find to get indices of corners you want

environ 6 ans il y a | 0

Réponse apportée
Time varying force with ode23
Use function handle Ft = @(t) (t<=tf)*Fo*sin(2*pi*t/tf); dXdt = @(t, x) [x(2); Ft(t) * 1/(m1+m2)]...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Color normalization algorithm under various lighting conditions
Try this trick I = imread('peppers.png'); imshow(I) p = round(ginput(1)); for i = 1:3 I(:,:,i) = I(:,:,i) + (255 - I(p(...

environ 6 ans il y a | 1

Réponse apportée
FIND A SPECIFIC ELEMENT WITHIN A LIST OF GENE SYMBOLS
Try this A = readtable('data.txt','delimiter','\t') GENE = table2array(A(:,2)); % convert to cell ix = strfind(GENE, ...

environ 6 ans il y a | 0

Réponse apportée
Projectile motion hold function not working
Try this modification

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Newton's solver not converging for 1D nonlinear diffusion equation.
See this madness lam = 0.1; m = 100; n = 20; t = linspace(0,0.1,m); x = linspace(0,1,n); dt = t(2)-t(1); dx = x(2)-x(1); ...

environ 6 ans il y a | 0

Réponse apportée
I don't see the changes using xlim with patches by drawing a surface
see my recommendations

environ 6 ans il y a | 0

| A accepté

Réponse apportée
take largest connected components in 2D slices and then reconstruct the 3D by stacking them
erode image dilate image clc % clear command window cla % clear axes bi11 = ...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
How to solve an equation multiple times with any combination of data points, given a data set?
Here is a simple start for i = 1:10-1 a = []; for j = i+1:10 a = [a j]; end a end Run this scrip...

environ 6 ans il y a | 0

Réponse apportée
Ode45 data keeps refreshing
Try persistent function udot = ok3(t,u,P,m,maxu,maxT,umax) syms z p(z) T=symsum(p(m+1-z)*(u(1))^z,z,0,m); persistent umaxc...

environ 6 ans il y a | 0

Charger plus