photo

Abolfazl Chaman Motlagh


Last seen: etwa ein Jahr vor Aktiv seit 2020

Followers: 0   Following: 0

Statistik

All
  • Knowledgeable Level 4
  • Revival Level 1
  • Speed Demon
  • First Answer
  • Introduction to MATLAB Master
  • Promoter
  • Community Group Solver
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
evaluate the double integration
You got 2 things wrong (i think) . the error you currently get is for second one. but you will get the error for first one event...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
why my loop doesn't run or produce an error at all?
second line in image (line 31 in your attached code). for n=533:475 this is an empty loop. here watch this, i run it here: n...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
Error using dlnetwork and dlfeval
the image or images you're forwarding through dl network is colored ( has 3 channels - RGB most probably). try rgb2gray function...

fast 2 Jahre vor | 0

Beantwortet
How to programmatically get a list of all app properties in AppDesigner
you can get all public properties with : P = properties(app); for all private and public properties you can use meta class pro...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
How do I create a 2-D plot with a matrix that contains data points and a matrix that contains class labels?
one simple way is to plot (scatter) every class separately. f = rand(150,2); C = randi(2,150,1); scatter(f(C==1,1),f(C==1,2),...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
MATLAB app while loop in button
one simple altenative i can give is use a property in your app. for example add this to properties: properties (Access = public...

fast 2 Jahre vor | 0

Beantwortet
for loop output is wrong
you are adding previous calculated numbers in nested loops. you should set T2,T3,... and T6 to zero before counting them for nex...

fast 2 Jahre vor | 0

Beantwortet
How to construct a symbolic pde that contains symbolic functions of certain variables (x & t)
you can write it this way: %Blade params functions of x and t syms dw(x,t) w(x,t) w_xx(x,t) q(x,t) EIx(x) mu(x) %Lagrangian ...

fast 2 Jahre vor | 1

| akzeptiert

Beantwortet
How to flatten the output of convolution1dLayer
by X(:) you are reshaping x to Nx1 vector, but you chose "CB" format for the array which is going to assume the array is 2 dimen...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
Multi label Image Classification using Deep Learning
Hi, Look at this example : multilabel image classification using deep learning

fast 2 Jahre vor | 1

| akzeptiert

Beantwortet
how can I increase the size of an incremental vector filling the space with zeros
use ismember function. X = cumsum(randi(3,1,5)) Y = 1:X(end); Y = ismember(Y,X).*Y

etwa 2 Jahre vor | 1

| akzeptiert

Beantwortet
How to determine whether a 3d point lies within a set of 3d points (a modeled room)
there is one easy way i can think, but that's not maybe very easy to write. you can devide the the while interior of set into s...

etwa 2 Jahre vor | 0

Beantwortet
I would like to sum a 2 dim array group by value in second column
there are a lot of ways to do this, here's a simple solution. i would recommend you to understand every line and run it line by ...

etwa 2 Jahre vor | 0

Beantwortet
How do I rotate a rectangular surface by a certain angle and center?
use the cordinate linear transformation. for this first subtract the center coordinate, rotate the coordinate, and finally shift...

etwa 2 Jahre vor | 1

| akzeptiert

Beantwortet
How to solve a MATLAB script that will plot cos(x) for x values ranging from –pi to pi with argument to change line widths?
there is nothing wrong with the code or anything. all you should do is calling the function. you can either save the function in...

etwa 2 Jahre vor | 1

| akzeptiert

Beantwortet
How to display a 2D square as a 3D cube
Use volshow function : thisSlice = dicomread('IMG-0004-00079.dcm'); thisSlice = double(thisSlice); thisSlice = (thisSlice-min...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
Image Compression: How to use blockproc function with dct2 inside
you created DCT_Trans function for blockprop . it's a function which takes structure as input. if you pass structure S to it's i...

mehr als 2 Jahre vor | 0

Beantwortet
Fitting multiple data sets to single curve in least square sense
the nlinfit function take a vector as second input y, because it's cost function for optimization and regression is based on sca...

mehr als 2 Jahre vor | 0

Beantwortet
Why am I getting this error? Local function name must be different from the script name.
Name of your live script is project.mlx and name of your local function within it is also project which leads to error. try diff...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
How do I use the besselj function?
The function besselj(nu,x) is in fact two variable function as . you put v(i) and z(i) simultaneously with same index in argum...

mehr als 2 Jahre vor | 1

| akzeptiert

Gelöst


Sums of cubes and squares of sums
Given the positive integers 1:n, can you: 1. Compute twice the sum of the cubes of those numbers. 2. Subtract the square...

mehr als 2 Jahre vor

Gelöst


Digital Neighbourhood
Given a natural number reorder its digits to create another number, closest to the given one. Examples: * 123 gives 132, ...

mehr als 2 Jahre vor

Beantwortet
select ROI, threshold it and remove small objects - App designer
about the first problem: you overwrite the app.Icrop on app.I every time the slider changes. so after first time, it goes comp...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
Asking for user input of numbers and letters.
if the plate (variable) could have both number and latters, deal with them like string. for getting input as string you need ext...

mehr als 2 Jahre vor | 1

Beantwortet
plotting delta function in zero interpolation and decimation
the problem you are adressing is that n and m are 1x100 vector each. so the term (n-m*L) is 1x100 array. and it means h1 and h2 ...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
Recursive Least Squares Estimation for Dynamic Systems in Real time
The first time rlsupdate is called the value of P,phi are set to eye(2) and 0. in the line 15 of code you have inverse of eye(1)...

mehr als 2 Jahre vor | 0

Beantwortet
Can my code be written in a more efficient way?
if clearvars are not important, this is exactly equal to what you're doing: % Specify participant folder DotFolder = [Folder '...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
Getting error in ode 45
you put ode45 and plot in your ode function. try this : (all in one script) [t,c] = ode45(@odefun1,[0 10],[1;0;0]); plot(t,c(:...

mehr als 2 Jahre vor | 0

Beantwortet
All the possible path between two points without repetition
You can solve this problem with your data as a matrix, or as a graph. the matrix make it easier i guess: a traditional method w...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
How to create a rectangle to locate a zooming area in a plot?
in first axes use function rectangle. y_min = min(Ly_orb.JacobiConstant(indexOfInterest)); % need indexofInterest for this y_m...

mehr als 2 Jahre vor | 1

| akzeptiert

Mehr laden