photo

Ollie A


Last seen: más de 2 años hace Con actividad desde 2018

Followers: 0   Following: 0

Estadística

All
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

Ver insignias

Feeds

Ver por

Respondida
Analysing Equation in matlab
Be careful when multiplying and dividing arrays; you will need to use the dot notation. You remembered it for d = payload .* ...

alrededor de 4 años hace | 1

Pregunta


PDE toolbox coefficients in functional form
I am using PDE toolbox to simulate current flow through a 2D conductive medium. I want to use my results from this model as a f...

alrededor de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Aligning a stack of images
I have 40 images in a stack that make up a video. I need the images to be (near) perfectly aligned. At the moment there are ver...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Respondida
Fibonacci serie, can not calculate with big number
If you're trying to calculate numbers in the Fibonacci series, there is a MATLAB function for it: Fibonacci If this doesn't he...

casi 6 años hace | 0

Respondida
Save images every certain period
for imagenumber = 1:1000 if mod(imagenumber,10)==0 % Modulo filename = sprintf('Image%d.png',imagenumber); ...

casi 6 años hace | 1

Respondida
how can i solve such two problems in single script file and run them?
There are two ways you could construct your function, as a symbolic function using syms, or as an expression that operates on a ...

casi 6 años hace | 0

Respondida
Import time and date text file
You could try using: fid = fopen('filename.txt'); string = textscan(fid,'%s','delimiter','\n'); % Read in lines of string to v...

casi 6 años hace | 0

Respondida
How to generate random points
R = randi([0 1], 1000); imshow(R); Is this what you're looking for?

casi 6 años hace | 0

Respondida
using meshgrid to create a mesh
I don't think you have to meshgrid(Z), instead your 12x12 Z matrix represents the height of the mesh plot at coordinates specifi...

casi 6 años hace | 0

Respondida
Losing precision when writing to Excel using xlswrite
It could be to do with the format of the excel cells. In excel you can increase the number of decimal places displayed. Otherwi...

casi 6 años hace | 0

Respondida
Cell array to matix
You could try using: M = {}; % Your cell N = cat(3,M{:}); % Concatenate matrices along 3rd dimension This will give you a sin...

casi 6 años hace | 0

Respondida
Finding the set of unique values for another set of unique values
This should do the trick: M = [ 1,2;1,3;1,2;2,4;2,4;2,5]; % Your matrix u = unique(M(:,1)); for x = 1:length(u) N{x} = u...

casi 6 años hace | 1

Respondida
How can I change the spacing/number of ticks in a figure?
This link should help: yticks It says you can specify the ticks on the y-axis. In your case it would be done as follows: ytic...

casi 6 años hace | 0

| aceptada

Respondida
What is the correct equation?
You have a variable t in your equation which is a vector. In order to multiply vectors in MATLAB you must use the syntax .*. In ...

casi 6 años hace | 0

| aceptada

Respondida
Having trouble creating a table
Make sure the variables you create your table with are column vectors. In this case I suspect your vectors are row vectors. Jus...

casi 6 años hace | 0

Respondida
How I can i read all files in a folder
You can use sprintf(). for n = 1:20 filename = sprintf('speaker1_%03d.wav', n) end Then within the loop input filename into...

casi 6 años hace | 0

Respondida
How can I index the edges of a matrix
I have interpreted your question to mean that for both matrices, you want the set all of the matrix, except the edge, to zero an...

casi 6 años hace | 1

Respondida
transform duration into some visible in the table
Duration just refers to the format of the data stored in each cell array. You could convert your cell to a table, which might h...

casi 6 años hace | 1

| aceptada

Respondida
XTick labels for bar plot of 2 data sets
You can modify the colour of individual bars in the bar chart using CData. This documentation explains it well: CData Here is...

casi 6 años hace | 0

Respondida
How to implement this equation?
If is a tensor, you could represent it as a matrix. Then your code should look something like this: lamda = ones(1,n); b = s...

casi 6 años hace | 0

| aceptada

Respondida
How to average 5 rows of a vector recursively?
V = 1:9445; % Your vector setsize = 5; for x = 1:length(V)/setsize Vnew(x) = mean(V((x-1)*setsize+1:x*setsize)) end I...

casi 6 años hace | 0

| aceptada

Respondida
How do I plot the surface plot and surface plot based on the equation and conditions below?
a = 15; b = 7.5; k = 4*100/pi; % Define constants. X = linspace(-5,5,101); [x,y] = meshgrid(X,X); % x and y range. n = ...

casi 6 años hace | 1

| aceptada

Respondida
Attempting to write my data into a single CSV file.
I would create a table, using the MATLAB function T = table(response, reaction_time); and then simply writing the table to a c...

casi 6 años hace | 1

| aceptada

Pregunta


Solving PDEs: time dependent c coefficient
I am solving a PDE to simulate current flow through a conductive medium in 2D. My geometry is as follows: With Neumann bound...

casi 6 años hace | 1 respuesta | 1

1

respuesta

Pregunta


Can I import a 2D binary image to use as a pde geometry?
I want to import a binary image (bmp, png, etc.) of a 2D shape to use as the geometry for my pde model. Is this possible?

más de 6 años hace | 0 respuestas | 0

0

respuestas