Krish Desai
Followers: 0 Following: 0
Statistik
RANG
253.672
of 295.467
REPUTATION
0
ANTWORTZUSTIMMUNG
72.97%
ERHALTENE STIMMEN
0
RANG
of 20.234
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 153.912
BEITRÄGE
0 Probleme
0 Lösungen
PUNKTESTAND
0
ANZAHL DER ABZEICHEN
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Frage
How can I change multiple variable name within a loop, while assigning those variables as matrix values?
I have a n x 3 matrix called dataMat. I also have n amount of processes that this code will eventually be able to handle. Each ...
etwa 8 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Constant number is changing value, why?
So I have a 1 that should print out, but instead only on the first line does 1 print out, for the rest the number keeps changing...
mehr als 8 Jahre vor | 1 Antwort | 0
1
AntwortHow to find dimension problems?
You could try to use the size function. For example: A= 1: 5 A= 1 2 3 4 5 size(A) ans= 1 5
mehr als 8 Jahre vor | 0
Frage
Change file name in loop
For some reason only one file dump_0 is being created. Does this mean Matlab is not going through the for loop? for t=0:dt:...
mehr als 8 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Output data to new text file for every time step
where should I put my printf's that for the current time steps that I have, I get 5 new files for each step with the x,y,z posi...
mehr als 8 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Why am I getting index must be positive integer or local error?
for ind=0:1920 U=3*ind+linspace(1,3,3); k= PHI_disp_RBME_ModePlot_N(ind); r=xlocs_full(ind); end i=...
mehr als 8 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to graph the displacement of an atom? (formula below)
*u*(jl,t)=Σ *U*(j,k,v)exp(i[k*r(jl)-⍵(k,v)t]) the displacement of the jth atom in the lth unit cell. Sum of all wave vecto...
mehr als 8 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
Plotting a function error
I'm trying to plot the following: y=((e^(-6t))/6)*(1-9e^(6t)+14e^(6t) t=-10:1:10; plot (t,((exp(-6*t))/6)*(1-9*exp(4*...
mehr als 8 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to graph this function?
So I'm trying to graph a function and when I plot the following: plot(y,(.65*y)-(0.65*y.^2/10.5)); It works fine but whe...
fast 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Why is my graph stopping at 10?
So I'm graphing the following (note: I'm also graphing a direction field) and when I plot it the graph stops when x=10. Any sugg...
fast 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to Alternate Between Two Different Graphs
So I'm plotting a graph and the direction field. Is there any way I can press a button and switch between the two graphs, also c...
fast 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to graph a differential equation
The equation I am trying to graph: f(y)=r(1−(y/L)y - py^2/(q+y^2) Where p=1.2, q=1 and L=6.1 function yp=fishfun(t,y) ...
fast 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Get rid of unwanted output
I have the following code function output=beautyofmath(i) for i = 1:9 if i == 1 j(i, 1) = i;...
fast 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Problem creating an equation
I am trying to create f=e^(cos(t))+-2cos(4t)-(sin(t/12))^5 is the below the same thing or do I have to change it? f=...
fast 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Function that graphs equations
Create a function named butterfly. The function receives three input arguments and returns two output variables (x and y values)...
fast 9 Jahre vor | 3 Antworten | 0
3
AntwortenFrage
Get rid of unwanted output
I have the following code: function output=beautyofmath(i) for i = 1:9 if i == 1 j(i, 1) = i; ...
fast 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to make a Palindrome Checker
I need to write a code that checks to see if an input is a palindrome-same backwards as forwards, for instance madam or rotor. ...
fast 9 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
How to select the first letter of every word
I have no idea how I would go about doing this Input: I like eating pizza Output: Ilep
fast 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Select first letter in multiple words
I want to select the first letter in every word in a string statement. example: Input: 'Are you going to see the new ABC s...
fast 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Create Minesweeper Like Game
I create this board with my code: 1 2 3 4 5 1x x x x x 2x x x x x 3x k x x x 4x x x k x 5x x x x x I want to replac...
fast 9 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Create game board in matlab
I want to create a board that displays for the user to see. I then want the user to be able to enter an x and y coordinate and r...
fast 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Use user input to change board
I have a function that makes a board function userboard=userboard(n) userboard = cell(n+1,n+1); % initialize the board ...
etwa 9 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
Randomly insert new variable
My code currently creates a board of size n x n (user input) What I want to do now is to have certain positions on this board b...
etwa 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Get multiple variables in an input
What I want to do is to get separate variables for the user inputted "row" and "column". Is there a function I can use to do thi...
etwa 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Prompt user for a text string
This keeps coming up as an error, what am I doing wrong? prompt= 'State your name, Your Grace '; name=input(prompt);
etwa 9 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
How to Make a board in Matlab
I want to make a n x n size board in Matlab (n is a user input). How do I do this? I want it to appear as: 1 2 3 4 5 6 7...
etwa 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Image into grayscale without using toolbox
This is my current code: function out = luminance(current_img ) R=current_img(:,:,1); G=current_img(:,:,2);...
etwa 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Convert vector position to real number
Really simple question, I have the following: >> vec=[44 3 2 9 11 6] vec = 44 3 2 9 11 ...
etwa 9 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Write a function to add random noise to an image in matlab
How do I create a function to add random noise without using imnoise? I am trying to figure out how to do it without using the b...
etwa 9 Jahre vor | 3 Antworten | 0
3
AntwortenFrage
How to truncate the image values so they stay in the [0 255] range
This is my current code: function newImg = adjust_img(current_img) for current_img>255 new=255; newI...
etwa 9 Jahre vor | 1 Antwort | 0