Answered
solving a differential equation
G*x + C*dx - B = 0 same as C*x'+G*x-B=0 launch MuPAD mphandle=mupad Symbolic toolbox needed. MuPAD solves your OD...

10 years ago | 1

| accepted

Answered
How to write a program to generate a data file containing the names and corresponding telephone numbers of the costumers?
just recommended to another MATLAB CENTRAL user to try the class TABLE. The starter example from MATLAB help: LastName = {'...

10 years ago | 0

Answered
Two-terms Exponential model
you really need to define the window where you want to approximate the exponential function with a polynomial otherwise the same...

10 years ago | 0

| accepted

Answered
Replacing numbers in dataset by string
Quoting from Mathworks documentary: http://uk.mathworks.com/help/stats/dataset-class.html?s_tid=srchtitle .. The dataset dat...

10 years ago | 0

| accepted

Answered
Importing a .csv to matlab, delimiter problem
try to save the file as SHipData.xlsx and the following: filename3='ShipData.xlsx' [num,txt,raw]=xlsread(filename3) t...

10 years ago | 0

Answered
Create Isotropic volume from 3D data
correct me if wrong but you want to basically transform a non isotropic voxel volume into an isotropic voxel volume, as detailed...

10 years ago | 0

Answered
Moving the data tip horizontally with arrow keys
remove axis ij this command is useful when working on images that have [0,0] on top left corner of the image, which is...

10 years ago | 0

Answered
How do I model this equation? Plotting position of poles?
have a look to the poles and zeros of the roots of your polynomial when sweeping the parameter k from 1 to 22 (sqrt(480)~22 ok?)...

10 years ago | 1

Answered
Question about user input error
try converting all inputs with uint. If the return value of any input character does not belong to uint64('0123456789') then...

10 years ago | 0

Answered
Structured Cell array assignment question
A.a and B.a are type struct. How do you expect to be able to assign B.a=A.a without making sure that the structures have same...

10 years ago | 0

Answered
How to extract time and date data from huge text file?
your data file has a format that allows to import text without while fgetl strfind and fscanf filename='Nikhil.txt' de...

10 years ago | 0

| accepted

Answered
how to convrt the FWHM value to picoseconds when given in nanometers for optical gaussian pulses.
Mr Egan has posted in Mathworks website the following function: function width = fwhm(x,y) % function width = fwhm(x...

10 years ago | 1

| accepted

Answered
How to discard all punctuation from a text file
Star Stride is right but perhaps Fateme wants to keep the spaces, because space is not punctuation spaces will help reading t...

10 years ago | 1

| accepted

Answered
Combining 2 Matrixes to Run in Large Data Set
Does it make sense to 1.- assign clearly differentiated names to both time windows of interest. Instead of calling them both...

10 years ago | 1

| accepted

Answered
Strange error when trying to solve a set of ODEs
could you please start by hanging the complete code you use? the one that results into the error code you have already descri...

10 years ago | 0

Answered
Signal generation using for loop
1.- generating base pulse with SIMULINK: 1.1.- manually following, one way to generate the base pulse of the cyclic signal ...

10 years ago | 0

Answered
Find the nearest whole number and whole number+/-0.5 for a given value
may be you find the following useful: v0=100*rand v0_floor=floor(v0) v0_ceil=ceil(v0) v5=.5*(v0_floor+v0_ceil) ...

10 years ago | 0

Answered
How to use "trapz" on a double integral?
try x1=-2;dx=.1;x2=2; y1=0;dy=.1;y2=3 [X,Y]=meshgrid(x1:dx:x2,y1:dy:y2) Z=X.^4-3*X.*Y+6*Y.^2 x=x1:dx:x2;y=y...

10 years ago | 2

Answered
MATLAB Certification (associate and professional)
One of the many possible answers to Problem 1 of 8, in compressed folder available online, exam questions examples available fro...

10 years ago | 0

Answered
Dijkstra's algorithm problem
In GitHub I found the following: function [dist,path] = dijkstra(nodes,segments,start_id,finish_id) %DIJKSTRA Calculates...

10 years ago | 1

Answered
how to create a white image?
max allowe [255 255 255] I repeat, the range is [0 255], 256 values.

10 years ago | 0

Answered
Inverted zeroes in bode plots
so you mean POLES, do you mean by inverted zero, a POLE?

10 years ago | 0

| accepted

Answered
How to solve this definite integral in MATLAB?!!
Hi Mamali what is one of the most useful techniques of probability? *if you don't know, assume uniform distribution* W...

10 years ago | 1

Answered
URG please answer this question
<</matlabcentral/answers/uploaded_files/41897/DE%20-%20exercise%20Simulink%20Circuit.jpg>> te sirve este circuito? es inesta...

10 years ago | 1

| accepted

Answered
How to scale the length of the x-axis/graph?
or: ax=gca ax.XLim or: axis([xmin xmax ymin ymax]) or: xlim([0 100]) to prevent limits changin...

10 years ago | 0

Answered
How to select best possible modulation technique for a particular fixed bandwidth???
You just asked a really broad question. You should add more details, as is it a narrow band case? you are either 1. ...

10 years ago | 0

Answered
How to Extract High density pixels in a RGB Image?
perhaps you mean high saturation pixels. highly saturated colour is that with low or no contents of white. White is flat c...

10 years ago | 3

| accepted

Answered
I have image with black background and white lines. How to find co-ordinate (x,y) of end points of white lines on that image?
Hi, Perhaps LAKSHMANAN ADAIKKAPPAN does not have the Image Toolbox. I tried with R2012 image toolbox and your code did not fin...

10 years ago | 0

Answered
Verify my For Loops
N=3 M=4 A=zeros(N,M) for i=1:1:N for j=1:1:M A(i,j)=i+j end end N=3 M=4 A=z...

10 years ago | 0

Answered
Area Under Curve (or Between Curve)
I understand the time reference is in sample=data(:,2) the function to integrate is in w=data(:,3) correct? and the z=13.2...

10 years ago | 0

| accepted

Load more